C# Class Parser.BracesTag

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

Public Methods

Method Description
MatchEnd ( string sql, int position ) : int

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

MatchEndStatic ( string sql, int position ) : int

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

MatchStartStatic ( string sql, int position ) : int

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

WriteEnd ( StringBuilder output ) : void

Writes the end of the tag.

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 word and separator array.

Method Details

InitializeCoreFromText() protected method

Reads the tag at the specified position in the specified word and separator array.
protected InitializeCoreFromText ( ParserBase parser, string sql, int position, TagBase parentTag ) : int
parser ParserBase
sql string
position int
parentTag TagBase
return int

MatchEnd() public method

Returns a value indicating whether there is the tag ending at the specified position. ///
public MatchEnd ( string sql, int position ) : int
sql string
position int
return int

MatchEndStatic() public static method

Checks whether there is the tag end at the specified position in the specified sql.
public static MatchEndStatic ( string sql, int position ) : int
sql string
position int
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

WriteEnd() public method

Writes the end of the tag.
public WriteEnd ( StringBuilder output ) : void
output StringBuilder
return void

WriteStart() public method

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