C# Class Tup.Cobar4Net.Parser.Ast.Expression.Primary.Identifier

Inheritance: PrimaryExpression
Afficher le fichier Open project: tupunco/Tup.Cobar4Net Class Usage Examples

Protected Properties

Свойство Type Description
idText string
idTextUpUnescape string
parent Identifier

Méthodes publiques

Méthode Description
Accept ( ISqlAstVisitor visitor ) : void
Equals ( object obj ) : bool
GetLevelUnescapeUpName ( int level ) : string
Identifier ( Identifier parent, string idText ) : System
Identifier ( Identifier parent, string idText, string idTextUp ) : System
ToString ( ) : string
TrimParent ( int level, string trimSchema ) : int
UnescapeName ( string name ) : string
UnescapeName ( string name, bool toUppercase ) : string

Private Methods

Méthode Description
GetHashCode ( ) : int
ObjEquals ( object obj, object obj2 ) : bool

Method Details

Accept() public méthode

public Accept ( ISqlAstVisitor visitor ) : void
visitor ISqlAstVisitor
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetLevelUnescapeUpName() public méthode

public GetLevelUnescapeUpName ( int level ) : string
level int
Résultat string

Identifier() public méthode

public Identifier ( Identifier parent, string idText ) : System
parent Identifier
idText string
Résultat System

Identifier() public méthode

public Identifier ( Identifier parent, string idText, string idTextUp ) : System
parent Identifier
idText string
idTextUp string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

TrimParent() public méthode

public TrimParent ( int level, string trimSchema ) : int
level int /// At most how many levels left after trim, must be a positive /// integer. e.g. level = 2 for "schema1.tb1.c1", "tb1.c1" is left ///
trimSchema string /// upper-case. Assumed that top trimmed parent is schema, /// if that equals given schema, do not trim ///
Résultat int

UnescapeName() public static méthode

public static UnescapeName ( string name ) : string
name string
Résultat string

UnescapeName() public static méthode

public static UnescapeName ( string name, bool toUppercase ) : string
name string
toUppercase bool
Résultat string

Property Details

idText protected_oe property

e.g.
e.g. "id1", "`id1`"
protected string idText
Résultat string

idTextUpUnescape protected_oe property

protected string idTextUpUnescape
Résultat string

parent protected_oe property

null if no parent
protected Identifier,Tup.Cobar4Net.Parser.Ast.Expression.Primary parent
Résultat Identifier