C# Class PoorMansTSqlFormatterLib.ParseTree

Inheritance: System.Xml.XmlDocument, Interfaces.IParseTree
Mostra file Open project: rudi-bruchez/SQLTrismegiste

Private Properties

Property Type Description
ConsiderStartingNewClause void
ConsiderStartingNewStatement void
EscapeAndLocateNextStatementContainer System.Xml.XmlElement
EscapeAnyBetweenConditions void
EscapeAnySelectionTarget void
EscapeAnySingleOrPartialStatementContainers void
EscapeCursorForBlock void
EscapeJoinCondition void
EscapeMergeAction void
EscapePartialStatementContainers void
FindValidBatchEnd bool
GetFirstNonWhitespaceNonCommentChildElement System.Xml.XmlElement
GetLastNonWhitespaceNonCommentChildElement System.Xml.XmlElement
HasNonWhiteSpaceNonCommentContent bool
HasNonWhiteSpaceNonSingleCommentContent bool
IsCommentOrWhiteSpace bool
MigrateApplicableCommentsFromContainer void
MoveToAncestorContainer void
MoveToAncestorContainer void
PathNameMatches bool
PathNameMatches bool
SaveNewElement System.Xml.XmlElement
SaveNewElement System.Xml.XmlElement
SaveNewElementAsPriorSibling System.Xml.XmlElement
SaveNewElementWithError System.Xml.XmlElement
SetError void
StartNewContainer void
StartNewStatement void
StartNewStatement void

Public Methods

Method Description
ParseTree ( string rootName ) : System
ToXmlDoc ( ) : XmlDocument

Private Methods

Method Description
ConsiderStartingNewClause ( ) : void
ConsiderStartingNewStatement ( ) : void
EscapeAndLocateNextStatementContainer ( bool escapeEmptyContainer ) : XmlElement
EscapeAnyBetweenConditions ( ) : void
EscapeAnySelectionTarget ( ) : void
EscapeAnySingleOrPartialStatementContainers ( ) : void
EscapeCursorForBlock ( ) : void
EscapeJoinCondition ( ) : void
EscapeMergeAction ( ) : void
EscapePartialStatementContainers ( ) : void
FindValidBatchEnd ( ) : bool
GetFirstNonWhitespaceNonCommentChildElement ( XmlNode targetElement ) : XmlElement
GetLastNonWhitespaceNonCommentChildElement ( XmlNode targetElement ) : XmlElement
HasNonWhiteSpaceNonCommentContent ( XmlElement containerNode ) : bool
HasNonWhiteSpaceNonSingleCommentContent ( XmlElement containerNode ) : bool
IsCommentOrWhiteSpace ( string targetNodeName ) : bool
MigrateApplicableCommentsFromContainer ( XmlElement previousContainerElement ) : void
MoveToAncestorContainer ( int levelsUp ) : void
MoveToAncestorContainer ( int levelsUp, string targetContainerName ) : void
PathNameMatches ( XmlNode targetNode, int levelsUp, string nameToMatch ) : bool
PathNameMatches ( int levelsUp, string nameToMatch ) : bool
SaveNewElement ( string newElementName, string newElementValue ) : XmlElement
SaveNewElement ( string newElementName, string newElementValue, XmlElement targetNode ) : XmlElement
SaveNewElementAsPriorSibling ( string newElementName, string newElementValue, XmlElement nodeToSaveBefore ) : XmlElement
SaveNewElementWithError ( string newElementName, string newElementValue ) : XmlElement
SetError ( ) : void
StartNewContainer ( string newElementName, string containerOpenValue, string containerType ) : void
StartNewStatement ( ) : void
StartNewStatement ( XmlElement targetNode ) : void

Method Details

ParseTree() public method

public ParseTree ( string rootName ) : System
rootName string
return System

ToXmlDoc() public method

public ToXmlDoc ( ) : XmlDocument
return System.Xml.XmlDocument