public class ActionMethodExpression
Modifier and Type | Field |
---|---|
Message |
message
|
system'dynamic'expressions'ScopeIdentifier[] |
parameters
|
Expression |
body
|
Modifier and Type | Constructor / Static Method |
---|---|
ActionMethodExpression |
constructor(Expression body)
|
ActionMethodExpression |
constructor(ScopeIdentifier param1, Expression body)
|
ActionMethodExpression |
constructor(ScopeIdentifier param1, ScopeIdentifier param2, Expression body)
|
ActionMethodExpression |
constructor(ScopeIdentifier param1, ScopeIdentifier param2, ScopeIdentifier param3, Expression body)
|
ActionMethodExpression |
constructor(ScopeIdentifier param1, ScopeIdentifier param2, ScopeIdentifier param3, ScopeIdentifier param4, Expression body)
|
ActionMethodExpression |
constructor(ScopeIdentifier param1, ScopeIdentifier param2, ScopeIdentifier param3, ScopeIdentifier param4, ScopeIdentifier param5, Expression body)
|
public class AssigningExpression
Modifier and Type | Field |
---|---|
ScopeIdentifier |
variable
|
Expression |
expression
|
Modifier and Type | Constructor / Static Method |
---|---|
AssigningExpression |
constructor(ScopeIdentifier variable, Expression expression)
|
AssigningExpression |
constructor(String variable, Expression expression)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class CharConstantExpression
Modifier and Type | Field |
---|---|
Object |
object
|
Modifier and Type | Constructor / Static Method |
---|---|
CharConstantExpression |
constructor(String o)
|
public class ClassIdentifierExpression
Modifier and Type | Field |
---|---|
ScopeIdentifier |
name
|
Modifier and Type | Constructor / Static Method |
---|---|
ClassIdentifierExpression |
constructor(String name)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class ClosureExpression
Modifier and Type | Field |
---|---|
system'dynamic'expressions'ScopeIdentifier[] |
parameters
|
Expression |
body
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
ClosureExpression |
constructor(Expression body)
|
ClosureExpression |
load(Expression body, params ScopeIdentifier[] params)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope parentScope, IntNumber index)
|
public class CodeblockExpression
Modifier and Type | Field |
---|---|
system'dynamic'expressions'Expression[] |
statements
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
CodeblockExpression |
arams:#constructor(Expression statements)
|
CodeblockExpression |
load(params Expression[] statements)
|
CodeblockExpression |
new(system'dynamic'expressions'Expression[] statements)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope parentScope, IntNumber index)
|
public class ConstantExpression
Modifier and Type | Field |
---|---|
Object |
object
|
Modifier and Type | Constructor / Static Method |
---|---|
ConstantExpression |
constructor(o)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
|
eval()
|
public class DeclaringAndAssigningExpression
Modifier and Type | Field |
---|---|
ScopeIdentifier |
variable
|
Expression |
expression
|
Modifier and Type | Constructor / Static Method |
---|---|
DeclaringAndAssigningExpression |
constructor(String variable, Expression expression)
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
public class DynamicExpressionSymbol
Modifier and Type | Field |
---|---|
Expression |
expr
|
Modifier and Type | Constructor / Static Method |
---|---|
DynamicExpressionSymbol |
constructor(Expression expr)
|
Modifier and Type | Method |
---|---|
|
compile(Object set, ExpressionScope parentScope)
|
|
compile()
|
public class DynamicSingleton
Modifier and Type | Field |
---|---|
system'dynamic'expressions'Expression[] |
methods
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
DynamicSingleton |
constructor()
|
DynamicSingleton |
arams:#constructor(Expression methods)
|
DynamicSingleton |
load(params Expression[] methods)
|
Modifier and Type | Method |
---|---|
|
compile(Object set, ExpressionScope scope)
|
|
compile()
|
abstract public class DynamicSymbol
Modifier and Type | Method |
---|---|
abstract |
compile(Object set, ExpressionScope scope)
|
abstract public class Expression
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
Expression |
Symbol(String s)
|
Expression |
MessageCall(Message message, Expression t, params Expression[] arguments)
|
Expression |
ExtensionOrMessageCall(Message message, Expression t, params Expression[] arguments)
|
Expression |
Constant(Object o)
|
Expression |
IntConstant(String value)
|
Expression |
CharConstant(String value)
|
Expression |
GetProperty(MessageName name, Expression t)
|
Expression |
SetProperty(MessageName name, Expression t, Expression v)
|
Expression |
Closure(Expression body, params ScopeIdentifier[] variables)
|
Expression |
CodeBlock(params Expression[] statements)
|
Expression |
SetDynamicProperty(Expression m, Expression t, Expression v)
|
Expression |
GetDynamicProperty(Expression m, Expression t)
|
Expression |
Nested(DynamicSingleton expr)
|
Expression |
Return(Expression expr)
|
Expression |
If(Expression cond, Expression body, Expression elseBody)
|
Expression |
Loop(Expression cond, Expression body)
|
Expression |
VariableByIndex(IntNumber index)
|
Expression |
Variable(String variable)
|
Expression |
ClassReference(String s)
|
Expression |
ClassIdentifier(String s)
|
Expression |
New(Expression t)
|
Expression |
New(Expression t, Expression p0)
|
Expression |
FunctionCall(params Expression[] arguments)
|
Expression |
Assigning(String variable, Expression expr)
|
Expression |
DeclareAndAssigning(String variable, Expression expr)
|
Expression |
Method(String name, Expression body, params ScopeIdentifier[] variables)
|
Expression |
ActionMethod(Expression body)
|
internal |
saveMessageCallTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, Expression target, system'dynamic'expressions'Expression[] arguments, TapeFunction operation)
|
internal |
saveMessageCallTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, system'dynamic'expressions'Expression[] arguments, TapeFunction operation)
|
Modifier and Type | Method |
---|---|
abstract |
declare(ExpressionScope parentScope)
|
abstract |
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
|
eval()
|
DynamicTape |
compile(ExpressionScope parentScope)
|
abstract public class ExpressionScope
Modifier and Type | Property |
---|---|
get abstract IntNumber |
Reserved()
|
get abstract IntNumber |
ScopeLevel()
|
Modifier and Type | Method |
---|---|
abstract |
allocVariable(ScopeIdentifier variable)
|
abstract IntNumber |
allocTempVariable()
|
abstract |
reserveStack(IntNumber level)
|
abstract TapeFunction |
resolve(ScopeIdentifier ident, BoolValue assignMode)
|
abstract TapeFunction |
resolveExtension(Message message)
|
public class ExtensionOrMessageCallExpression
Modifier and Type | Field |
---|---|
Message |
_message
|
Expression |
_target
|
system'dynamic'expressions'Expression[] |
_arguments
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class FunctionCallExpression
Modifier and Type | Field |
---|---|
Message |
_message
|
Expression |
_target
|
system'dynamic'expressions'Expression[] |
_arguments
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class GetDynamicPropertyExpression
Modifier and Type | Field |
---|---|
Expression |
_property
|
Expression |
_target
|
IntNumber |
_tempVariable
|
Modifier and Type | Constructor / Static Method |
---|---|
GetDynamicPropertyExpression |
constructor(Expression t, Expression p)
|
GetDynamicPropertyExpression |
new(Expression p, Expression t)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class GetPropertyExpression
Modifier and Type | Field |
---|---|
MessageName |
_name
|
Expression |
_target
|
Modifier and Type | Constructor / Static Method |
---|---|
GetPropertyExpression |
constructor(Expression t, String message)
|
GetPropertyExpression |
new(MessageName name, Expression t)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class IdentifierExpression
Modifier and Type | Field |
---|---|
ScopeIdentifier |
ident
|
Modifier and Type | Constructor / Static Method |
---|---|
IdentifierExpression |
constructor(ScopeIdentifier ident)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public singleton IdleExpressionScope
Modifier and Type | Method |
---|---|
|
allocVariable(ScopeIdentifier variable)
|
IntNumber |
allocTempVariable()
|
|
reserveStack(IntNumber level)
|
TapeFunction |
resolve(ScopeIdentifier ident, BoolValue assignMode)
|
TapeFunction |
resolveExtension(Message message)
|
public class IfExpression
Modifier and Type | Field |
---|---|
Expression |
condition
|
Expression |
body
|
Expression |
elseBody
|
Modifier and Type | Constructor / Static Method |
---|---|
IfExpression |
constructor(Expression condition, Expression body)
|
IfExpression |
constructor(Expression condition, Expression body, Expression elseBody)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class ImportInfo
Modifier and Type | Field |
---|---|
system'String[] |
imports
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
ImportInfo |
arams:#constructor(String import_strings)
|
Modifier and Type | Method |
---|---|
system'String[] |
declare(system'String[] declared)
|
public class IntConstantExpression
Modifier and Type | Field |
---|---|
Object |
object
|
Modifier and Type | Constructor / Static Method |
---|---|
IntConstantExpression |
constructor(o)
|
public class LazySymbolExpression
Modifier and Type | Field |
---|---|
String |
symbolReference
|
Modifier and Type | Constructor / Static Method |
---|---|
LazySymbolExpression |
constructor(String s)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
|
eval()
|
public class LoopExpression
Modifier and Type | Field |
---|---|
Expression |
condition
|
Expression |
body
|
Modifier and Type | Constructor / Static Method |
---|---|
LoopExpression |
constructor(Expression condition, Expression body)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class MessageCallExpression
Modifier and Type | Field |
---|---|
Message |
_message
|
Expression |
_target
|
system'dynamic'expressions'Expression[] |
_arguments
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class MethodExpression
Modifier and Type | Field |
---|---|
Message |
message
|
system'dynamic'expressions'ScopeIdentifier[] |
parameters
|
Expression |
body
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
MethodExpression |
new(String name, Expression body, params ScopeIdentifier[] params)
|
MethodExpression |
constructor(String name, MethodParameterList parameters, Expression body)
|
MethodExpression |
constructor(String name, Expression body)
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope parentScope, IntNumber index)
|
DynamicTape |
compile(ExpressionScope parentScope)
|
public class MethodParameterList
Modifier and Type | Field |
---|---|
system'dynamic'expressions'ScopeIdentifier[] |
parameters
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
MethodParameterList |
arams:#constructor(String variables)
|
Modifier and Type | Property |
---|---|
get IntNumber |
Length()
|
get system'dynamic'expressions'ScopeIdentifier[] |
Value()
|
public class NestedExpression
Modifier and Type | Field |
---|---|
DynamicSingleton |
singleton
|
Modifier and Type | Constructor / Static Method |
---|---|
NestedExpression |
constructor(DynamicSingleton singleton)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class NewExpression
Modifier and Type | Field |
---|---|
Message |
_message
|
Expression |
_target
|
system'dynamic'expressions'Expression[] |
_arguments
|
public class ReturnExpression
Modifier and Type | Field |
---|---|
Expression |
expr
|
Modifier and Type | Constructor / Static Method |
---|---|
ReturnExpression |
constructor(Expression expr)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class RootExpressionScope
Modifier and Type | Field |
---|---|
Reference<system'IntNumber> |
stackSize
|
Reference<system'IntNumber> |
declared
|
Reference<system'IntNumber> |
reserved
|
ExpressionScope |
parent
|
Modifier and Type | Constructor / Static Method |
---|---|
RootExpressionScope |
constructor()
|
RootExpressionScope |
constructor(ExpressionScope parent)
|
Modifier and Type | Property |
---|---|
get IntNumber |
StackSize()
|
get IntNumber |
ScopeLevel()
|
get IntNumber |
Declared()
|
get IntNumber |
Reserved()
|
Modifier and Type | Method |
---|---|
|
reserveStack(IntNumber level)
|
IntNumber |
allocTempVariable()
|
TapeFunction |
resolve(ScopeIdentifier variable, BoolValue assignMode)
|
|
allocVariable(ScopeIdentifier variable)
|
TapeFunction |
resolveExtension(Message message)
|
public class ScopeIdentifier
Modifier and Type | Constructor / Static Method |
---|---|
ScopeIdentifier |
Variable(String name)
|
ScopeIdentifier |
TempVariable(IntNumber index)
|
ScopeIdentifier |
constructor(String name, IntNumber mode)
|
ScopeIdentifier |
constructor(String name)
|
Modifier and Type | Method |
---|---|
BoolValue |
equal(ScopeIdentifier var)
|
public class SetDynamicPropertyExpression
Modifier and Type | Field |
---|---|
Expression |
_property
|
Expression |
_target
|
Expression |
_value
|
Modifier and Type | Constructor / Static Method |
---|---|
SetDynamicPropertyExpression |
constructor(Expression t, Expression p, Expression v)
|
SetDynamicPropertyExpression |
new(Expression p, Expression t, Expression v)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class SetPropertyExpression
Modifier and Type | Field |
---|---|
MessageName |
_name
|
Expression |
_target
|
Expression |
_value
|
Modifier and Type | Constructor / Static Method |
---|---|
SetPropertyExpression |
constructor(Expression t, String message, Expression v)
|
SetPropertyExpression |
new(MessageName name, Expression t, Expression v)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class SymbolCollection
Modifier and Type | Field |
---|---|
system'dynamic'expressions'SymbolInfo[] |
symbols
|
system'String[] |
imports
|
Modifier and Type | Constructor / Static Method |
---|---|
|
dispatch()
|
SymbolCollection |
constructor(SymbolInfo symbol1)
|
SymbolCollection |
constructor(SymbolInfo symbol1, SymbolInfo symbol2)
|
SymbolCollection |
constructor(SymbolInfo symbol1, SymbolInfo symbol2, SymbolInfo symbol3)
|
SymbolCollection |
constructor(SymbolInfo symbol1, SymbolInfo symbol2, SymbolInfo symbol3, SymbolInfo symbol4)
|
SymbolCollection |
arams:#constructor(SymbolInfo symbols)
|
SymbolCollection |
constructor(ImportInfo imports, SymbolInfo symbol1)
|
SymbolCollection |
load(params SymbolInfo[] symbols)
|
SymbolCollection |
load(ImportInfo importInfo, params SymbolInfo[] symbols)
|
Modifier and Type | Method |
---|---|
|
compile()
|
|
compile(set)
|
|
compile(Object set, ExpressionScope scope)
|
|
eval()
|
|
safeEval()
|
public class SymbolExpression
Modifier and Type | Field |
---|---|
Symbol |
symbol
|
Modifier and Type | Constructor / Static Method |
---|---|
SymbolExpression |
constructor(String s)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope parentScope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
|
eval()
|
public class SymbolInfo
Modifier and Type | Field |
---|---|
String |
Name
|
DynamicSymbol |
Symbol
|
Modifier and Type | Constructor / Static Method |
---|---|
SymbolInfo |
constructor(String name, DynamicSymbol symbol)
|
SymbolInfo |
constructor(DynamicSymbol symbol)
|
public class VariableByIndexExpression
Modifier and Type | Field |
---|---|
IntNumber |
varIndex
|
Modifier and Type | Constructor / Static Method |
---|---|
VariableByIndexExpression |
constructor(IntNumber index)
|
Modifier and Type | Property |
---|---|
get BoolValue |
IsOperation()
|
Modifier and Type | Method |
---|---|
|
declare(ExpressionScope scope)
|
|
saveTo(List<system'dynamic'TapeFunction> list, ExpressionScope scope, IntNumber index)
|
public class VariableExpression
Modifier and Type | Field |
---|---|
ScopeIdentifier |
ident
|
Modifier and Type | Constructor / Static Method |
---|---|
VariableExpression |
constructor(String name)
|