Uses of Interface
org.qdl_lang.statements.ExpressionInterface
-
Packages that use ExpressionInterface Package Description org.qdl_lang.evaluate Evaluators evaluate the built-in functions for QDL as well as perform the usual algebraic operations.org.qdl_lang.expressions Expressions are objects that take zero or more arguments and return a result.org.qdl_lang.functions Function handling and processing.org.qdl_lang.parsing Classes that support parsing and the parser itself.org.qdl_lang.statements The two basic syntactic units of QDL are expressions (which return results) and statements which are the other control structures, such as conditionals, loops, etc.org.qdl_lang.variables Variables in QDL and classes that support them. -
-
Uses of ExpressionInterface in org.qdl_lang.evaluate
Methods in org.qdl_lang.evaluate that return types with arguments of type ExpressionInterface Modifier and Type Method Description static ArrayList<ExpressionInterface>AbstractEvaluator. toConstants(ArrayList<QDLValue> objects)Takes a list of Java objects and converts them to QDL constants to be used as arguments to functions.Methods in org.qdl_lang.evaluate with parameters of type ExpressionInterface Modifier and Type Method Description protected ObjectListEvaluator. checkCopyNode(ExpressionInterface expr, State state, boolean doInsert)protected booleanSystemEvaluator. checkDefined(ExpressionInterface exp, State state)static voidAbstractEvaluator. checkNull(Object arg, ExpressionInterface swri)If a function gets an argument which should not be a Java null, then this will try to track down the variable reference.static voidAbstractEvaluator. checkNull(Object arg1, ExpressionInterface swri, State state)Check for Java nulls and logs any errorsprotected FunctionReferenceNodeInterfaceAbstractEvaluator. getFunctionReferenceNode(State state, ExpressionInterface arg0)FunctionReferenceNodeInterfaceAbstractEvaluator. getFunctionReferenceNode(State state, ExpressionInterface arg0, boolean pushNewState)protected QDLStemAbstractEvaluator. getOrCreateStem(ExpressionInterface node, State state, String informativeMessage)This will take anExpressionImplthat should contain a stem, check the reference and it the stem does not exist, create and put it in the symbol table.booleanAbstractEvaluator. isFunctionRef(ExpressionInterface arg0)Checks if the argument is some form of a function reference. -
Uses of ExpressionInterface in org.qdl_lang.expressions
Subinterfaces of ExpressionInterface in org.qdl_lang.expressions Modifier and Type Interface Description interfaceExpressionNodeThis class mostly manages the structure of expressions (so arguments are the children) and evaluating them is delegating the result to theOpEvaluatorclass.Classes in org.qdl_lang.expressions that implement ExpressionInterface Modifier and Type Class Description classAllIndicesMarker class to show all the indices are to be used.classAltIfExpressionNodeCreated by Jeff Gaynor
on 5/27/21 at 5:13 PMclassANode2Very much improved way to handle assignments.classAxisExpressionclassClosedSliceNodeCreated by Jeff Gaynor
on 6/1/21 at 9:25 AMclassComparisonDyadDyad that compares the arguments, such as with comparisons, regex matching and values of equality.classConstantNodeCreated by Jeff Gaynor
on 1/13/20 at 4:08 PMclassDyadCreated by Jeff Gaynor
on 1/13/20 at 3:47 PMclassESN2After a parser change to treat the dot as an operator, this was introduced.classExpressionImplMain workhorse class.classExpressionStemNodeModels a stem.classModuleExpressionModels a single module expression of the form A#expression where A is the alias giving the instance of the current module and expression is a general expression to be evaluated against the state of the module.classMonadA post or prefix operator, such a logical not or ++.classNiladThis would be an operator that takes no arguments.classOpenSliceNodeCreated by Jeff Gaynor
on 6/1/21 at 8:38 AMclassParenthesizedExpressionCreated by Jeff Gaynor
on 6/13/21 at 3:44 PMclassPolyadFor multiple arguments.classSelectExpressionNodeAn expression for switches.classStemExtractionNodeThis will allow for creating a subset (copy of portion) of a stem.classUserFunctionMOdels a user-defined function in QDL.classVariableNodeCreated by Jeff Gaynor
on 1/13/20 at 4:28 PMFields in org.qdl_lang.expressions declared as ExpressionInterface Modifier and Type Field Description ExpressionInterfaceIndexArg. swriFields in org.qdl_lang.expressions with type parameters of type ExpressionInterface Modifier and Type Field Description protected ArrayList<ExpressionInterface>ExpressionImpl. argumentsMethods in org.qdl_lang.expressions that return types with arguments of type ExpressionInterface Modifier and Type Method Description ArrayList<ExpressionInterface>AltIfExpressionNode. getArguments()ArrayList<ExpressionInterface>ExpressionImpl. getArguments()ArrayList<ExpressionInterface>ExpressionNode. getArguments()ArrayList<ExpressionInterface>ExpressionStemNode. getArguments()ArrayList<ExpressionInterface>ParenthesizedExpression. getArguments()ArrayList<ExpressionInterface>SelectExpressionNode. getArguments()Methods in org.qdl_lang.expressions with parameters of type ExpressionInterface Modifier and Type Method Description voidExpressionImpl. addArgument(ExpressionInterface expr)protected ObjectExpressionStemNode. doLeftSVCase(ExpressionInterface leftArg, List<ExpressionInterface> indices, State state)Case that the left hand argument is a stem variable.protected ObjectExpressionStemNode. doLeftSVCase(ExpressionInterface leftArg, ExpressionInterface rightArg, State state)voidMonad. setArgument(ExpressionInterface node)voidSelectExpressionNode. setCASE(ExpressionInterface x)voidSelectExpressionNode. setDEFAULT(ExpressionInterface x)voidAltIfExpressionNode. setELSE(ExpressionInterface x)voidModuleExpression. setExpression(ExpressionInterface expressionInterface)voidParenthesizedExpression. setExpression(ExpressionInterface expression)voidAltIfExpressionNode. setIF(ExpressionInterface x)voidANode2. setLeftArg(ExpressionInterface leftArg)voidESN2. setLeftArg(ExpressionInterface swri)voidExpressionStemNode. setLeftArg(ExpressionInterface swri)voidStemExtractionNode. setLeftArg(ExpressionInterface swri)voidDyad. setLeftArgument(ExpressionInterface node)voidANode2. setRightArg(ExpressionInterface rightArg)voidESN2. setRightArg(ExpressionInterface swri)voidExpressionStemNode. setRightArg(ExpressionInterface swri)voidStemExtractionNode. setRightArg(ExpressionInterface swri)voidDyad. setRightArgument(ExpressionInterface node)voidSelectExpressionNode. setSWITCH(ExpressionInterface x)voidAltIfExpressionNode. setTHEN(ExpressionInterface x)protected voidANode2. setValueFromSWRI(ExpressionInterface swri, Object value, Object i, State state)Method parameters in org.qdl_lang.expressions with type arguments of type ExpressionInterface Modifier and Type Method Description protected ObjectExpressionStemNode. doLeftSVCase(ExpressionInterface leftArg, List<ExpressionInterface> indices, State state)Case that the left hand argument is a stem variable.voidExpressionImpl. setArguments(ArrayList<ExpressionInterface> arguments)voidExpressionNode. setArguments(ArrayList<ExpressionInterface> arguments)voidExpressionStemNode. setArguments(ArrayList<ExpressionInterface> arguments)voidParenthesizedExpression. setArguments(ArrayList<ExpressionInterface> arguments)Constructors in org.qdl_lang.expressions with parameters of type ExpressionInterface Constructor Description IndexArg(ExpressionInterface swri, boolean strictOrder)Constructor parameters in org.qdl_lang.expressions with type arguments of type ExpressionInterface Constructor Description ArgList(Collection<? extends ExpressionInterface> c) -
Uses of ExpressionInterface in org.qdl_lang.functions
Classes in org.qdl_lang.functions that implement ExpressionInterface Modifier and Type Class Description classDyadicFunctionReferenceNodeCreated by Jeff Gaynor
on 6/10/24 at 12:43 PMclassFunctionReferenceNodeJust a pointer to the collection of functions for a given name.classLambdaDefinitionNodeTo treat defined lambda expressions they must beExpressionNodes This wraps aFunctionDefinitionStatement, which cannot be replaced.Methods in org.qdl_lang.functions that return ExpressionInterface Modifier and Type Method Description ExpressionInterfaceDyadicFunctionReferenceNode. makeCopy()ExpressionInterfaceFunctionReferenceNode. makeCopy()ExpressionInterfaceLambdaDefinitionNode. makeCopy() -
Uses of ExpressionInterface in org.qdl_lang.parsing
Classes in org.qdl_lang.parsing that implement ExpressionInterface Modifier and Type Class Description classParseExpressionBlockNodeCreated by Jeff Gaynor
on 6/1/21 at 6:43 AMclassParseStatementBlockTop level for various block statements in the parser.Methods in org.qdl_lang.parsing that return ExpressionInterface Modifier and Type Method Description ExpressionInterfaceParseExpressionBlockNode. makeCopy()ExpressionInterfaceParseStatementBlock. makeCopy() -
Uses of ExpressionInterface in org.qdl_lang.statements
Methods in org.qdl_lang.statements that return ExpressionInterface Modifier and Type Method Description ExpressionInterfaceAssertStatement. getConditional()ExpressionInterfaceAssertStatement. getMesssge()ExpressionInterfaceExpressionInterface. makeCopy()Methods in org.qdl_lang.statements with parameters of type ExpressionInterface Modifier and Type Method Description voidAssertStatement. setConditional(ExpressionInterface conditional)voidAssertStatement. setMesssge(ExpressionInterface messsge) -
Uses of ExpressionInterface in org.qdl_lang.variables
Classes in org.qdl_lang.variables that implement ExpressionInterface Modifier and Type Class Description classQDLNullThis represents when the user explicitly sets a variable to null.classQDLSetNodeCreated by Jeff Gaynor
on 4/6/22 at 4:06 PMclassStemEntryNodeModels an entry for a stem variable (that is not a list element).classStemListNodeCreated by Jeff Gaynor
on 9/28/20 at 1:28 PMclassStemVariableNodeThis is used in parsing.Methods in org.qdl_lang.variables that return ExpressionInterface Modifier and Type Method Description ExpressionInterfaceStemEntryNode. getKey()ExpressionInterfaceQDLSetNode. makeCopy()ExpressionInterfaceStemEntryNode. makeCopy()ExpressionInterfaceStemListNode. makeCopy()ExpressionInterfaceStemVariableNode. makeCopy()Methods in org.qdl_lang.variables that return types with arguments of type ExpressionInterface Modifier and Type Method Description ArrayList<ExpressionInterface>QDLSetNode. getStatements()ArrayList<ExpressionInterface>StemListNode. getStatements()Methods in org.qdl_lang.variables with parameters of type ExpressionInterface Modifier and Type Method Description voidStemEntryNode. setKey(ExpressionInterface key)voidStemEntryNode. setValue(ExpressionInterface value)Method parameters in org.qdl_lang.variables with type arguments of type ExpressionInterface Modifier and Type Method Description voidQDLSetNode. setStatements(ArrayList<ExpressionInterface> statements)voidStemListNode. setStatements(ArrayList<ExpressionInterface> statements)
-