|
static ParseTreeNode | Parse (string input) |
| Parse a formula, return the the tree's root node More...
|
|
static ParseTree | ParseToTree (string input) |
| Parse a formula, return the the tree More...
|
|
static IEnumerable< ParseTreeNode > | AllNodesConditional (this ParseTreeNode root, Predicate< ParseTreeNode > stopAt=null) |
| Non-terminal nodes in depth-first pre-order, with a conditional stop More...
|
|
static IEnumerable< ParseTreeNode > | AllNodes (this ParseTreeNode root) |
| All non-terminal nodes in depth-first pre-order More...
|
|
static IEnumerable< ParseTreeNode > | AllNodes (this ParseTreeNode root, string type) |
| All non-terminal nodes of a certain type in depth-first pre-order More...
|
|
static ParseTreeNode | Parent (this ParseTreeNode child, ParseTreeNode treeRoot) |
| Get the parent node of a node More...
|
|
static string | Type (this ParseTreeNode node) |
| The node type/name More...
|
|
static bool | Is (this ParseTreeNode pt, string type) |
| Check if a node is of a particular type More...
|
|
static Boolean | IsFunction (this ParseTreeNode input) |
| Checks whether this node is a function More...
|
|
static bool | IsParentheses (this ParseTreeNode input) |
| Whether or not this node represents parentheses "(_)" More...
|
|
static bool | IsBinaryOperation (this ParseTreeNode input) |
|
static bool | IsBinaryNonReferenceOperation (this ParseTreeNode input) |
|
static bool | IsBinaryReferenceOperation (this ParseTreeNode input) |
|
static bool | IsUnaryOperation (this ParseTreeNode input) |
|
static bool | IsUnaryPrefixOperation (this ParseTreeNode input) |
|
static bool | IsUnaryPostfixOperation (this ParseTreeNode input) |
|
static string | GetFunction (this ParseTreeNode input) |
| Get the function or operator name of this function call More...
|
|
static bool | MatchFunction (this ParseTreeNode input, string functionName) |
| Check if this node is a specific function More...
|
|
static IEnumerable< ParseTreeNode > | GetFunctionArguments (this ParseTreeNode input) |
| Get all the arguments of a function or operation More...
|
|
static bool | IsBuiltinFunction (this ParseTreeNode node) |
| Checks whether this node is a built-in excel function More...
|
|
static bool | IsIntersection (this ParseTreeNode input) |
| Whether or not this node represents an intersection More...
|
|
static bool | IsUnion (this ParseTreeNode input) |
| Whether or not this node represents an union More...
|
|
static bool | IsNamedFunction (this ParseTreeNode input) |
| Checks whether this node is a function call with name, and not just a unary or binary operation More...
|
|
static bool | IsOperation (this ParseTreeNode input) |
|
static bool | IsExternalUDFunction (this ParseTreeNode input) |
|
static bool | IsNumberWithSign (this ParseTreeNode input) |
| True if this node presents a number constant with a sign More...
|
|
static PrefixInfo | GetPrefixInfo (this ParseTreeNode prefix) |
| Extract all of the information from a Prefix non-terminal More...
|
|
static ParseTreeNode | SkipFormula (this ParseTreeNode input) |
| Go to the first non-formula child node More...
|
|
static IEnumerable< ParseTreeNode > | GetReferenceNodes (this ParseTreeNode input) |
| Get all child nodes that are references and aren't part of another reference expression More...
|
|
static IEnumerable< ParserReference > | GetParserReferences (this ParseTreeNode node) |
| Gets the ParserReferences from the input parse tree node and its children More...
|
|
static bool | IsRange (this ParseTreeNode input) |
| Whether or not this node represents a range More...
|
|
static ParseTreeNode | SkipToRelevant (this ParseTreeNode input, bool skipReferencesWithoutPrefix=false) |
| Go to the first "relevant" child node, i.e. skips wrapper nodes More...
|
|
static string | Print (this ParseTreeNode input) |
| Pretty-print a parse tree to a string More...
|
|
Excel formula parser
Contains parser and utilities that operate directly on the parse tree, or makes working with the parse tree easier.