메소드 | 설명 | |
---|---|---|
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 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 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 |