C# Class Parser.StringLiteralTag

Inheritance: TagBase
Afficher le fichier Open project: totpero/SqlParser Class Usage Examples

Méthodes publiques

Méthode Description
MatchStartStatic ( string sql, int position ) : int

Checks whether there is the tag start at the specified position in the specified sql.

WriteStart ( StringBuilder output ) : void

Writes the start of the tag.

Méthodes protégées

Méthode Description
InitializeCoreFromText ( ParserBase parser, string sql, int position, TagBase parentTag ) : int

Reads the tag at the specified position in the specified sql string.

Private Methods

Méthode Description
MatchEnd ( string sql, int position, int literalStartPos ) : int

Returns a value indicating whether there is the tag ending at the specified position.

WriteEnd ( StringBuilder output ) : void

Writes the end of the tag.

Method Details

InitializeCoreFromText() protected méthode

Reads the tag at the specified position in the specified sql string.
protected InitializeCoreFromText ( ParserBase parser, string sql, int position, TagBase parentTag ) : int
parser ParserBase
sql string
position int
parentTag TagBase
Résultat int

MatchStartStatic() public static méthode

Checks whether there is the tag start at the specified position in the specified sql.
public static MatchStartStatic ( string sql, int position ) : int
sql string
position int
Résultat int

WriteStart() public méthode

Writes the start of the tag.
public WriteStart ( StringBuilder output ) : void
output StringBuilder
Résultat void