C# Class Parser.StringLiteralTag

Inheritance: TagBase
Datei anzeigen Open project: totpero/SqlParser Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 method

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
return int

MatchStartStatic() public static method

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
return int

WriteStart() public method

Writes the start of the tag.
public WriteStart ( StringBuilder output ) : void
output StringBuilder
return void