C# Класс PoorMansTSqlFormatterLib.Parsers.TSqlStandardParser

Наследование: Interfaces.ISqlTokenParser
Показать файл Открыть проект

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

Метод Описание
ParseSQL ( ITokenList tokenList ) : XmlDocument

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

Метод Описание
AppendNodesWithMapping ( ParseTree sqlTree, IEnumerable tokens, string otherTokenMappingName, XmlElement targetContainer ) : void
ContentStartsWithKeyword ( XmlElement providedContainer, string contentToMatch ) : bool
ExtractTokensString ( ITokenList tokenList, IList significantTokenPositions ) : string
GetCompoundKeyword ( int &tokenID, int compoundKeywordCount, List compoundKeywordTokenCounts, List compoundKeywordRawStrings ) : string
GetEquivalentSqlNodeName ( SqlTokenType tokenType ) : string
GetKeywordMatchPhrase ( ITokenList tokenList, int tokenID, List &rawKeywordParts, List &tokenCounts, List &overflowNodes ) : string
GetSignificantTokenPositions ( ITokenList tokenList, int tokenID, int searchDistance ) : List
InitializeKeywordList ( ) : void
IsClauseStarter ( IToken token ) : bool
IsFollowedByLineBreakingWhiteSpaceOrSingleLineCommentOrEnd ( ITokenList tokenList, int tokenID ) : bool
IsLatestTokenAComma ( ParseTree sqlTree ) : bool
IsLatestTokenADDLDetailValue ( ParseTree sqlTree ) : bool
IsLatestTokenAMiscName ( XmlElement currentContainerElement ) : bool
IsLineBreakingWhiteSpaceOrComment ( IToken token ) : bool
IsStatementStarter ( IToken token ) : bool
ProcessCompoundKeyword ( ParseTree sqlTree, string newElementName, int &tokenID, XmlElement currentContainerElement, int compoundKeywordCount, List compoundKeywordTokenCounts, List compoundKeywordRawStrings ) : XmlElement
ProcessCompoundKeyword ( ITokenList tokenList, ParseTree sqlTree, XmlElement targetContainer, int &tokenID, List significantTokenPositions, int keywordCount ) : void
ProcessCompoundKeywordWithError ( ITokenList tokenList, ParseTree sqlTree, XmlElement currentContainerElement, int &tokenID, List significantTokenPositions, int keywordCount ) : void
TSqlStandardParser ( ) : System

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

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

public ParseSQL ( ITokenList tokenList ) : XmlDocument
tokenList ITokenList
Результат System.Xml.XmlDocument