Class SheetRangeNode
- Namespace
- OpenLanguage.SpreadsheetML.Formula.Ast
- Assembly
- OpenLanguage.dll
Represents a range of sheets, e.g., "Sheet1:Sheet3".
public class SheetRangeNode : ExpressionNode
- Inheritance
-
SheetRangeNode
- Inherited Members
Constructors
SheetRangeNode(ExpressionNode, ColonNode, ExpressionNode, List<Node>?, List<Node>?)
public SheetRangeNode(ExpressionNode startSheet, ColonNode colon, ExpressionNode endSheet, List<Node>? leadingWs = null, List<Node>? trailingWs = null)
Parameters
startSheet
ExpressionNodecolon
ColonNodeendSheet
ExpressionNodeleadingWs
List<Node>trailingWs
List<Node>
Properties
ColonNode
public ColonNode ColonNode { get; set; }
Property Value
EndSheetName
public ExpressionNode EndSheetName { get; set; }
Property Value
Precedence
Gets the operator precedence for this expression node.
public override int Precedence { get; }
Property Value
StartSheetName
public ExpressionNode StartSheetName { get; set; }
Property Value
Methods
Children<O>()
public override IEnumerable<O> Children<O>() where O : Node
Returns
- IEnumerable<O>
Type Parameters
O
ReplaceChild(int, Node)
public override Node? ReplaceChild(int index, Node replacement)
Parameters
Returns
ToRawString()
Renders the core content of the node without its own leading/trailing whitespace.
public override string ToRawString()
Returns
- string
The raw string representation of this node's specific content.