C# Класс Parser.SimpleOneWordTag

The base class for such tags as Select, From etc.
Наследование: TagBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MatchEnd ( string sql, int position ) : 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.

WriteStart ( StringBuilder output ) : void

Writes the start of the tag.

Защищенные методы

Метод Описание
InitializeCoreFromText ( ParserBase parser, string sql, int position, TagBase parentTag ) : int

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

MatchStart ( string sql, int position ) : int

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

Приватные методы

Метод Описание
MatchStart ( string name, string sql, int position ) : int

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

Описание методов

InitializeCoreFromText() защищенный Метод

Reads the tag at the specified position in the specified sql.
protected InitializeCoreFromText ( ParserBase parser, string sql, int position, TagBase parentTag ) : int
parser ParserBase
sql string
position int
parentTag TagBase
Результат int

MatchEnd() публичный Метод

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
Результат int

MatchStart() защищенный Метод

Checks whether there is the tag at the specified position in the specified sql.
protected MatchStart ( string sql, int position ) : int
sql string
position int
Результат int

WriteEnd() публичный Метод

Writes the end of the tag.
public WriteEnd ( StringBuilder output ) : void
output StringBuilder
Результат void

WriteStart() публичный Метод

Writes the start of the tag.
public WriteStart ( StringBuilder output ) : void
output StringBuilder
Результат void