Table of Contents

Class NameNode

Namespace
OpenLanguage.SpreadsheetML.Formula.Ast
Assembly
OpenLanguage.dll
public class NameNode : ExpressionNode
Inheritance
NameNode
Derived
Inherited Members

Constructors

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

public NameNode(ExpressionNode name, List<Node>? leadingWhitespace = null, List<Node>? trailingWhitespace = null)

Parameters

name ExpressionNode
leadingWhitespace List<Node>
trailingWhitespace List<Node>

NameNode(string, List<Node>?, List<Node>?)

public NameNode(string name, List<Node>? leadingWhitespace = null, List<Node>? trailingWhitespace = null)

Parameters

name string
leadingWhitespace List<Node>
trailingWhitespace List<Node>

Properties

Name

public ExpressionNode? Name { get; set; }

Property Value

ExpressionNode

Precedence

Gets the operator precedence for this expression node.

public override int Precedence { get; }

Property Value

int

RawName

public string? RawName { get; set; }

Property Value

string

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.