Table of Contents

Class SheetNode

Namespace
OpenLanguage.SpreadsheetML.Formula.Ast
Assembly
OpenLanguage.dll

Represents a single sheet name, which may be quoted or unquoted, and may have a workbook index.

public class SheetNode : ExpressionNode
Inheritance
SheetNode
Inherited Members

Constructors

SheetNode(ExpressionNode?, ExpressionNode?, List<Node>?, List<Node>?)

public SheetNode(ExpressionNode? workbookIndex = null, ExpressionNode? sheetName = null, List<Node>? leadingWs = null, List<Node>? trailingWs = null)

Parameters

workbookIndex ExpressionNode
sheetName ExpressionNode
leadingWs List<Node>
trailingWs List<Node>

Properties

Precedence

Gets the operator precedence for this expression node.

public override int Precedence { get; }

Property Value

int

SheetName

public ExpressionNode? SheetName { get; set; }

Property Value

ExpressionNode

WorkbookReference

public ExpressionNode? WorkbookReference { get; set; }

Property Value

ExpressionNode

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

index int
replacement Node

Returns

Node

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.