Package org.apache.calcite.linq4j.tree
Class DeclarationStatement
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Statement
org.apache.calcite.linq4j.tree.DeclarationStatement
- All Implemented Interfaces:
Node
Expression that declares and optionally initializes a variable.
-
Field Summary
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType, type
-
Constructor Summary
ConstructorDescriptionDeclarationStatement
(int modifiers, ParameterExpression parameter, @Nullable Expression initializer) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
modifiers
public final int modifiers -
parameter
-
initializer
-
-
Constructor Details
-
DeclarationStatement
public DeclarationStatement(int modifiers, ParameterExpression parameter, @Nullable Expression initializer)
-
-
Method Details
-
accept
-
accept
-
accept2
public void accept2(org.apache.calcite.linq4j.tree.ExpressionWriter writer, boolean withType) -
equals
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-