Package io.github.fupacat.ast
Class FunctionStatementBody
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.ProcedureStatementBodyBase
io.github.fupacat.ast.FunctionStatementBody
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlterFunctionStatement,CreateFunctionStatement,CreateOrAlterFunctionStatement
Represents CREATE/ALTER FUNCTION statement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the function.Options in WITH clause - different options for procedure and function.Optional CLR table-valued options order hint.The return type of the function.Fields inherited from class io.github.fupacat.ast.ProcedureStatementBodyBase
MethodSpecifier, Parameters, StatementListFields 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
-
Name
The name of the function. Can at most be a two part name. -
ReturnType
The return type of the function. Depending on this property, Statements may be empty collection -
Options
Options in WITH clause - different options for procedure and function. Custom Manual processing. -
OrderHint
Optional CLR table-valued options order hint. Valid only in case of CLR table-valued function.
-
-
Constructor Details
-
FunctionStatementBody
public FunctionStatementBody()
-
-
Method Details
-
accept
- Overrides:
acceptin classProcedureStatementBodyBase
-
acceptChildren
- Overrides:
acceptChildrenin classProcedureStatementBodyBase
-