Table of Contents

Class CellNode<R, RN, C, CN>

Namespace
OpenLanguage.SpreadsheetML.Formula.Ast
Assembly
OpenLanguage.dll
public abstract class CellNode<R, RN, C, CN> : ExpressionNode where R : RowNode<RN> where RN : INumber<RN>, IBinaryInteger<RN>, INumberBase<RN>, IParsable<RN>, IFormattable, IMinMaxValue<RN> where C : ColumnNode<CN> where CN : INumber<CN>, IBinaryInteger<CN>, INumberBase<CN>, IParsable<CN>, IFormattable, IMinMaxValue<CN>

Type Parameters

R
RN
C
CN
Inheritance
CellNode<R, RN, C, CN>
Derived
Inherited Members

Constructors

CellNode(R, C, List<Node>?, List<Node>?)

public CellNode(R row, C column, List<Node>? leadingWhitespace = null, List<Node>? trailingWhitespace = null)

Parameters

row R
column C
leadingWhitespace List<Node>
trailingWhitespace List<Node>

Properties

Column

public C Column { get; set; }

Property Value

C

Precedence

Gets the operator precedence for this expression node.

public override int Precedence { get; }

Property Value

int

Row

public R Row { get; set; }

Property Value

R

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.