Uses of Interface
components.statement.Statement
Packages that use Statement
Package
Description
Provides the
Program family interfaces and implementing classes.Provides the
Statement family interfaces and implementing classes.-
Uses of Statement in components.program
Methods in components.program that return StatementModifier and TypeMethodDescriptionfinal StatementProgram1.newBody()ProgramKernel.newBody()Creates and returns aStatementwith a default initial value, of the dynamic type needed inswapBody.Methods in components.program that return types with arguments of type StatementModifier and TypeMethodDescriptionProgram1.newContext()ProgramKernel.newContext()Creates and returns an emptyMap<String, Statement>of the dynamic type needed inswapContext.Methods in components.program with parameters of type StatementModifier and TypeMethodDescriptionfinal voidvoidExchanges the body ofthiswithb;bmust have the dynamic type returned bynewBody.Method parameters in components.program with type arguments of type StatementModifier and TypeMethodDescriptionfinal voidProgram1.swapContext(Map<String, Statement> c) voidProgramKernel.swapContext(Map<String, Statement> c) Exchanges the context ofthiswithc;cmust have the dynamic type returned bynewContext. -
Uses of Statement in components.statement
Classes in components.statement that implement StatementModifier and TypeClassDescriptionclassclassLayered implementations of secondary methods forStatement.Methods in components.statement that return StatementModifier and TypeMethodDescriptionfinal StatementStatement1.removeFromBlock(int pos) StatementKernel.removeFromBlock(int pos) Removes and returns the statement at positionposinthisBLOCK statement.Methods in components.statement with parameters of type StatementModifier and TypeMethodDescriptionfinal voidStatement1.addToBlock(int pos, Statement s) voidStatementKernel.addToBlock(int pos, Statement s) Adds the statementsat positionposinthisBLOCK statement; the declaration notwithstanding, the dynamic type ofsmust be the same as the dynamic type ofthis.final voidStatement1.assembleIf(StatementKernel.Condition c, Statement s) voidStatementKernel.assembleIf(StatementKernel.Condition c, Statement s) Assembles inthisan IF statement with root label(IF, c, ?)and only subtree the BLOCKs; the declaration notwithstanding, the dynamic type ofsmust be the same as the dynamic type ofthis.final voidStatement1.assembleIfElse(StatementKernel.Condition c, Statement s1, Statement s2) voidStatementKernel.assembleIfElse(StatementKernel.Condition c, Statement s1, Statement s2) Assembles inthisan IF_ELSE statement with root label(IF_ELSE, c, ?)and as two subtrees the BLOCKss1ands2; the declaration notwithstanding, the dynamic type ofs1ands2must be the same as the dynamic type ofthis.final voidStatement1.assembleWhile(StatementKernel.Condition c, Statement s) voidStatementKernel.assembleWhile(StatementKernel.Condition c, Statement s) Assembles inthisa WHILE statement with root label(WHILE, c, ?)and only subtree the BLOCKs; the declaration notwithstanding, the dynamic type ofsmust be the same as the dynamic type ofthis.Statement1.disassembleIf(Statement s) StatementKernel.disassembleIf(Statement s) Disassembles IF statementthisinto its testCondition, which is returned as the value of the function, and its only subtree, the BLOCK statements; the declaration notwithstanding, the dynamic type ofsmust be the same as the dynamic type ofthis.Statement1.disassembleIfElse(Statement s1, Statement s2) StatementKernel.disassembleIfElse(Statement s1, Statement s2) Disassembles IF_ELSE statementthisinto its testCondition, which is returned as the value of the function, and its two subtrees, the BLOCK statementss1ands2; the declaration notwithstanding, the dynamic type ofs1ands2must be the same as the dynamic type ofthis.Statement1.disassembleWhile(Statement s) StatementKernel.disassembleWhile(Statement s) Disassembles WHILE statementthisinto its testCondition, which is returned as the value of the function, and its only subtree, the BLOCK statements; the declaration notwithstanding, the dynamic type ofsmust be the same as the dynamic type ofthis.final voidStatement1.transferFrom(Statement source)