Package io.github.fupacat.ast
Class DeclareVariableElement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.DeclareVariableElement
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProcedureParameter
This class represents a single declaration in the body of DeclareVariableStatement.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe data type of the variable.The nullable constraint, optional can be null.Initial variable value specified in declaration.The name of the variable.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
VariableName
The name of the variable. This includes the @ at the beginning. -
DataType
The data type of the variable. Type table is invalid. -
Nullable
The nullable constraint, optional can be null. -
Value
Initial variable value specified in declaration.
-
-
Constructor Details
-
DeclareVariableElement
public DeclareVariableElement()
-
-
Method Details
-
accept
- Specified by:
acceptin classTSqlFragment
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlFragment
-