Uses of Class
dev.frostlake.executor.procedural.BaseExpression
Packages that use BaseExpression
-
Uses of BaseExpression in dev.frostlake.executor
Methods in dev.frostlake.executor that return BaseExpressionModifier and TypeMethodDescriptionVisitorExpressionBuilder.buildExpression(FrostlakeParser.BooleanExprContext ctx) Boolean tier (OR/AND/NOT) over the value/predicate `expression` below.VisitorExpressionBuilder.buildExpression(FrostlakeParser.ExpressionContext ctx) Build an Expression from ANTLR expression contextMethods in dev.frostlake.executor with parameters of type BaseExpressionModifier and TypeMethodDescriptionProceduralExecutor.evaluateExpression(BaseExpression expr) ProceduralExecutor.inferUntypedDeclarationType(BaseExpression initialiser) The type an UNTYPED declaration takes from its initialiser (live-verified): an integer literal makes a NUMBER(38,0), a decimal literal a FLOAT, and a NAME hands over its own type when that is a whole-number NUMBER — a FOR counter's NUMBER(9,0) — or FLOAT when it carries a scale (a NUMBER(10,4) holding 1.7777 makes a FLOAT). -
Uses of BaseExpression in dev.frostlake.executor.procedural
Subclasses of BaseExpression in dev.frostlake.executor.proceduralModifier and TypeClassDescriptionclassclassclassclassclassRepresents a $varname session variable reference inside procedural code.classA procedural expression backed by the full query-side expression AST (Expression).classRepresents a subquery expression used in EXISTS, IN, or scalar subquery contextsclassRepresents a unary operation (e.g., NOT x, -5, EXISTS(...))classMethods in dev.frostlake.executor.procedural that return BaseExpressionModifier and TypeMethodDescriptionIfCondition.getCondition()RepeatStatement.getCondition()WhenClause.getCondition()WhileStatement.getCondition()ReturnStatement.getExpression()ReturnTableStatement.getExpression()SetStatement.getExpression()ForStatement.getIterable()BinaryExpression.getLeft()RaiseStatement.getMessage()UnaryExpression.getOperand()BinaryExpression.getRight()ExecuteImmediateExpression.getSqlExpression()CaseStatement.getSwitchExpression()ForStatement.getToExpression()The range's end expression, or null for a cursor/list FOR.Methods in dev.frostlake.executor.procedural that return types with arguments of type BaseExpressionModifier and TypeMethodDescriptionCallStatement.getArguments()FunctionCallExpression.getArguments()ExecuteImmediateExpression.getUsingBindings()Values for theUSING (...)clause, bound positionally to?placeholders (empty if none).OpenStatement.getUsingBindings()Constructors in dev.frostlake.executor.procedural with parameters of type BaseExpressionModifierConstructorDescriptionBinaryExpression(BaseExpression left, BinaryOperator operator, BaseExpression right) CaseStatement(BaseExpression switchExpression, List<WhenClause> whenClauses, ProceduralBlock elseBlock) ExecuteImmediateExpression(BaseExpression sqlExpression, List<BaseExpression> usingBindings) ForStatement(String variableName, BaseExpression iterable, BaseExpression toExpression, boolean reverse, ProceduralBlock block) ForStatement(String variableName, BaseExpression iterable, ProceduralBlock block) IfCondition(BaseExpression condition, ProceduralBlock block) RaiseStatement(BaseExpression message) RepeatStatement(BaseExpression condition, ProceduralBlock block) ReturnStatement(BaseExpression expression) ReturnTableStatement(BaseExpression expression) RETURN TABLE(expression) — the expression evaluates to a RESULTSET value/variable.SetStatement(String variableName, BaseExpression expression) SetStatement(String variableName, BaseExpression expression, DataType declaredType) A LET inside a compound body: an assignment that also declares the name's type.SetStatement(String variableName, BaseExpression expression, String rawExpressionText) UnaryExpression(UnaryOperator operator, BaseExpression operand) WhenClause(BaseExpression condition, ProceduralBlock block) WhileStatement(BaseExpression condition, ProceduralBlock block) Constructor parameters in dev.frostlake.executor.procedural with type arguments of type BaseExpressionModifierConstructorDescriptionCallStatement(String procedureName, List<BaseExpression> arguments) CallStatement(String procedureName, List<BaseExpression> arguments, List<String> argumentNames) ExecuteImmediateExpression(BaseExpression sqlExpression, List<BaseExpression> usingBindings) FunctionCallExpression(String functionName, List<BaseExpression> arguments) OpenStatement(String cursorName, List<BaseExpression> usingBindings)