类 SyntaxNode
java.lang.Object
com.grapecity.documents.excel.expressions.SyntaxNode
- 直接已知子类:
NonTerminalNode
,TerminalNode
Represents a node in the syntax tree. The node can be terminal or non-terminal.
-
构造器概要
-
方法概要
修饰符和类型方法说明final SyntaxNode
clone()
Clones the syntax node if the node is mutable.boolean
Checks whether theSyntaxNode
equal to another.int
hashCode()
This object doesn't support getting hash code, because all fields are mutable.static SyntaxNode
Loads aSyntaxNode
from a string that contains formula, optionallyspecifying context.static SyntaxNode
Parse
(String text, ParseContext context) Loads aSyntaxNode
from a string that contains formula, optionallyspecifying context.toString()
Returns the formula text for this node, optionally specifying context.toString
(UnParseContext context) Returns the formula text for this node, optionally specifying context.
-
构造器详细资料
-
SyntaxNode
public SyntaxNode()
-
-
方法详细资料
-
toString
Returns the formula text for this node, optionally specifying context. -
toString
Returns the formula text for this node, optionally specifying context.- 参数:
context
- Options for convertingFormulaSyntaxTree
tostring
.
-
Parse
Loads aSyntaxNode
from a string that contains formula, optionallyspecifying context.- 参数:
text
- Astring
that contains formula.- 返回:
- A
SyntaxNode
populated from the string that contains formula.
-
Parse
Loads aSyntaxNode
from a string that contains formula, optionallyspecifying context.- 参数:
text
- Astring
that contains formula.context
- AParseContext
that specifies base row, base columnand R1C1 reference style.- 返回:
- A
SyntaxNode
populated from the string that contains formula.
-
equals
Checks whether theSyntaxNode
equal to another. -
hashCode
public int hashCode()This object doesn't support getting hash code, because all fields are mutable. -
clone
Clones the syntax node if the node is mutable.
-