Version

SyntaxTree Class Members

The following tables list the members exposed by SyntaxTree.

Public Properties
 NameDescription
Public PropertyRootNodeReturns the root node of the tree (read-only).  
Public PropertySnapshotReturns the Infragistics.Documents.TextDocumentSnapshot that was parsed (read-only).  
Public Methods
 NameDescription
Public MethodAddAnnotationGets a modified tree with an annotation attached to the specified node.  
Public MethodAddDiagnosticGets a modified tree with diagnostic information attached to the specified node.  
Public MethodGetEquivalentNodeFor a node specified from an equivalent tree, returns a SyntaxNode in this tree which represents the same content; otherwise null.  
Public MethodToStringReturns the string representation of this object.  
See Also