Метод | Описание | |
---|---|---|
AsVarName ( string varname ) : string |
Gets variable name without leading
|
|
ClrName ( this qname ) : string |
Gets CLR name using dot as a name separator.
|
|
GetNamingContext ( NamespaceDecl ns, SourceUnit unit ) : NamingContext |
Create naming context.
|
|
GetNamingContext ( TypeDecl type ) : NamingContext |
Create naming context in context of given type declaration.
|
|
GetNamingContext ( this routine ) : NamingContext |
Create naming context.
|
|
IsEmpty ( this qname ) : bool |
Gets value indicating whether given qualified name was not set.
|
|
IsGlobalVar ( ItemUse itemUse ) : bool |
Gets value indicating whether the expression is in form of
|
|
MakeQualifiedName ( Name name, NamespaceDecl ns ) : QualifiedName |
Combines name and its namespace.
|
|
MakeQualifiedName ( string name, bool fullyQualified ) : QualifiedName |
Make QualifiedName from the string like AAA\BBB\XXX
|
|
MakeQualifiedName ( this type ) : QualifiedName |
Gets full qualified name of the type declaration.
|
|
NamesEquals ( this names1, Name names2 ) : bool |
Compares two arrays.
|
|
TryGetGlobalVarName ( ItemUse itemUse, VariableName &varname ) : bool |
Tries to resolve global variable name from array item use. (eg.
|
public static AsVarName ( string varname ) : string | ||
varname | string | String in form of |
Результат | string |
public static ClrName ( this qname ) : string | ||
qname | this | |
Результат | string |
public static GetNamingContext ( NamespaceDecl ns, SourceUnit unit ) : NamingContext | ||
ns | NamespaceDecl | Current namespace declaration. In case it is |
unit | SourceUnit | Global code used when |
Результат | NamingContext |
public static GetNamingContext ( TypeDecl type ) : NamingContext | ||
type | TypeDecl | |
Результат | NamingContext |
public static GetNamingContext ( this routine ) : NamingContext | ||
routine | this | |
Результат | NamingContext |
public static IsEmpty ( this qname ) : bool | ||
qname | this | |
Результат | bool |
public static IsGlobalVar ( ItemUse itemUse ) : bool | ||
itemUse | ItemUse | |
Результат | bool |
public static MakeQualifiedName ( Name name, NamespaceDecl ns ) : QualifiedName | ||
name | Name | Name. |
ns | NamespaceDecl | Can be |
Результат | QualifiedName |
public static MakeQualifiedName ( string name, bool fullyQualified ) : QualifiedName | ||
name | string | |
fullyQualified | bool | |
Результат | QualifiedName |
public static MakeQualifiedName ( this type ) : QualifiedName | ||
type | this | Type, cannot be |
Результат | QualifiedName |
public static NamesEquals ( this names1, Name names2 ) : bool | ||
names1 | this | |
names2 | Name | |
Результат | bool |
public static TryGetGlobalVarName ( ItemUse itemUse, VariableName &varname ) : bool | ||
itemUse | ItemUse | |
varname | VariableName | |
Результат | bool |