Table of Contents

Class XlsxFormulaNode

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

One node of a formula's tree.

public sealed class XlsxFormulaNode
Inheritance
XlsxFormulaNode
Inherited Members

Remarks

A chain of one operator (A1+A2+A3+…) is as deep as it is long, so code that walks a tree should not use one stack frame for each level; nesting of functions, parentheses and prefix operators is at most MaxNestingDepth deep.

Properties

Children

Gets the operands, the arguments, the rows or the constants; empty for a leaf.

Kind

Gets what the node is.

Length

Gets the number of characters the node and everything under it covers.

Reference

Gets the reference, for a reference, a name and a structured reference; null otherwise.

Start

Gets the index in the formula's text where the node and everything under it starts.

Text

Gets the node's own text: a literal as written, an operator, a function's name, a reference or a name as written. Empty for parentheses, array constants and their rows, and a missing argument.