Package org.qdl_lang.statements
Class LocalBlockStatement
- java.lang.Object
- 
- org.qdl_lang.statements.BlockStatement
- 
- org.qdl_lang.statements.LocalBlockStatement
 
 
- 
- All Implemented Interfaces:
- Serializable,- Statement
 
 public class LocalBlockStatement extends BlockStatement Local block statments.These have completely local state and know nothing of the ambient space.Created by Jeff Gaynor 
 on 4/8/22 at 12:59 PM- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LocalBlockStatement()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QDLValueevaluate(State state)List<XThing>getFunctionParameters()If this is called in a function.e.g., f(x)->local[...] then this is the set of arguments.protected booleanhasFunctionParameters()voidsetFunctionParameters(List<XThing> functionParameters)- 
Methods inherited from class org.qdl_lang.statements.BlockStatementgetSourceCode, getStatements, getTokenPosition, hasTokenPosition, setSourceCode, setStatements, setTokenPosition
 
- 
 
- 
- 
- 
Method Detail- 
evaluatepublic QDLValue evaluate(State state) - Specified by:
- evaluatein interface- Statement
- Overrides:
- evaluatein class- BlockStatement
 
 - 
hasFunctionParametersprotected boolean hasFunctionParameters() 
 - 
getFunctionParameterspublic List<XThing> getFunctionParameters() If this is called in a function.e.g., f(x)->local[...] then this is the set of arguments. These should be added to the state.- Returns:
 
 
- 
 
-