C# 클래스 PoorMansTSqlFormatterLib.Parsers.TSqlStandardParser

상속: Interfaces.ISqlTokenParser
파일 보기 프로젝트 열기: rudi-bruchez/SQLTrismegiste

공개 메소드들

메소드 설명
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