Class BslExpression
java.lang.Object
com.github._1c_syntax.bsl.languageserver.utils.expressiontree.BslExpression
- Direct Known Subclasses:
AbstractCallNode
,BslOperationNode
,SkippedCallArgumentNode
,TerminalSymbolNode
,TernaryOperatorNode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BslExpression(ExpressionNodeType nodeType)
protected
BslExpression(ExpressionNodeType nodeType, org.antlr.v4.runtime.tree.ParseTree representingAst)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
<T extends BslExpression>
Tcast()
Синтаксический-помощник для более удобных downcast-овboolean
org.antlr.v4.runtime.tree.ParseTree
int
hashCode()
void
setRepresentingAst(org.antlr.v4.runtime.tree.ParseTree representingAst)
toString()
-
Constructor Details
-
BslExpression
-
BslExpression
@ConstructorProperties({"nodeType","representingAst"}) protected BslExpression(ExpressionNodeType nodeType, org.antlr.v4.runtime.tree.ParseTree representingAst)
-
-
Method Details
-
cast
Синтаксический-помощник для более удобных downcast-ов- Type Parameters:
T
- тип, к которому надо привести данный узел- Returns:
- значение заданного типа
-
getNodeType
-
getRepresentingAst
public org.antlr.v4.runtime.tree.ParseTree getRepresentingAst() -
setRepresentingAst
public void setRepresentingAst(org.antlr.v4.runtime.tree.ParseTree representingAst) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-