Package io.github.fupacat.ast
Class SetVariableStatement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.SetVariableStatement
- All Implemented Interfaces:
Serializable
Represents the set @local_variable statement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionAssignment operator used.Cursor - if not null, then Expression has to be nullThe expression that the variable is goint to be set.booleanTrue if the column identifiers end with a function call.The identifier that can represent the property, field or method.The parameters to the function.Shows the separator.The variable that is going to be set.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
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
-
Variable
The variable that is going to be set. -
SeparatorType
Shows the separator. -
Identifier
The identifier that can represent the property, field or method. Optional, may be null. -
FunctionCallExists
public boolean FunctionCallExistsTrue if the column identifiers end with a function call. -
Parameters
The parameters to the function. -
Expression
The expression that the variable is goint to be set. Can be null in case of cursor -
CursorDefinition
Cursor - if not null, then Expression has to be null -
AssignmentKind
Assignment operator used.
-
-
Constructor Details
-
SetVariableStatement
public SetVariableStatement()
-
-
Method Details
-
accept
- Overrides:
acceptin classTSqlStatement
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlStatement
-