API Reference
Class
LatexSyntaxNode
Immutable node in the lossless LaTeX syntax tree.
Inheritance
- Object
- LatexSyntaxNode
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property LatexArgument.Syntax
- Property LatexCommand.Syntax
- Property LatexEnvironment.Syntax
- Property LatexMath.Syntax
- Method LatexSyntaxNode.DescendantsAndSelf
- Property LatexSyntaxNode.Children
- Property LatexSyntaxNode.Parent
- Property LatexSyntaxTree.Root
Methods
public IEnumerable<LatexSyntaxNode> DescendantsAndSelf() #Returns:
IEnumerable<LatexSyntaxNode>Enumerates this node and descendants.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public LatexSyntaxKind Kind { get; } #Syntax kind.
public LatexSourceSpan Span { get; } #Exact source span.
public String OriginalText { get; } #Exact source slice.
public String Value { get; } #Command or environment name when applicable.
public LatexSyntaxNode Parent { get; set; } #Parent node.
public Int32 IndexInParent { get; } #Index in parent or -1.
public IReadOnlyList<LatexSyntaxNode> Children { get; } #Child nodes in source order.