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 Statement
Program1.newBody()
ProgramKernel.newBody()
Creates and returns aStatement
with 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 void
void
Exchanges the body ofthis
withb
;b
must have the dynamic type returned bynewBody
.Method parameters in components.program with type arguments of type StatementModifier and TypeMethodDescriptionfinal void
Program1.swapContext
(Map<String, Statement> c) void
ProgramKernel.swapContext
(Map<String, Statement> c) Exchanges the context ofthis
withc
;c
must have the dynamic type returned bynewContext
. -
Uses of Statement in components.statement
Classes in components.statement that implement StatementModifier and TypeClassDescriptionclass
class
Layered implementations of secondary methods forStatement
.Methods in components.statement that return StatementModifier and TypeMethodDescriptionfinal Statement
Statement1.removeFromBlock
(int pos) StatementKernel.removeFromBlock
(int pos) Removes and returns the statement at positionpos
inthis
BLOCK statement.Methods in components.statement with parameters of type StatementModifier and TypeMethodDescriptionfinal void
Statement1.addToBlock
(int pos, Statement s) void
StatementKernel.addToBlock
(int pos, Statement s) Adds the statements
at positionpos
inthis
BLOCK statement; the declaration notwithstanding, the dynamic type ofs
must be the same as the dynamic type ofthis
.final void
Statement1.assembleIf
(StatementKernel.Condition c, Statement s) void
StatementKernel.assembleIf
(StatementKernel.Condition c, Statement s) Assembles inthis
an IF statement with root label(IF, c, ?)
and only subtree the BLOCKs
; the declaration notwithstanding, the dynamic type ofs
must be the same as the dynamic type ofthis
.final void
Statement1.assembleIfElse
(StatementKernel.Condition c, Statement s1, Statement s2) void
StatementKernel.assembleIfElse
(StatementKernel.Condition c, Statement s1, Statement s2) Assembles inthis
an IF_ELSE statement with root label(IF_ELSE, c, ?)
and as two subtrees the BLOCKss1
ands2
; the declaration notwithstanding, the dynamic type ofs1
ands2
must be the same as the dynamic type ofthis
.final void
Statement1.assembleWhile
(StatementKernel.Condition c, Statement s) void
StatementKernel.assembleWhile
(StatementKernel.Condition c, Statement s) Assembles inthis
a WHILE statement with root label(WHILE, c, ?)
and only subtree the BLOCKs
; the declaration notwithstanding, the dynamic type ofs
must be the same as the dynamic type ofthis
.Statement1.disassembleIf
(Statement s) StatementKernel.disassembleIf
(Statement s) Disassembles IF statementthis
into its testCondition
, which is returned as the value of the function, and its only subtree, the BLOCK statements
; the declaration notwithstanding, the dynamic type ofs
must be the same as the dynamic type ofthis
.Statement1.disassembleIfElse
(Statement s1, Statement s2) StatementKernel.disassembleIfElse
(Statement s1, Statement s2) Disassembles IF_ELSE statementthis
into its testCondition
, which is returned as the value of the function, and its two subtrees, the BLOCK statementss1
ands2
; the declaration notwithstanding, the dynamic type ofs1
ands2
must be the same as the dynamic type ofthis
.Statement1.disassembleWhile
(Statement s) StatementKernel.disassembleWhile
(Statement s) Disassembles WHILE statementthis
into its testCondition
, which is returned as the value of the function, and its only subtree, the BLOCK statements
; the declaration notwithstanding, the dynamic type ofs
must be the same as the dynamic type ofthis
.final void
Statement1.transferFrom
(Statement source)