gnu.expr

Class SeriesTarget

public class SeriesTarget extends Target

The value in the result (as a sequence of values) is passed to a function.
Field Summary
Labeldone
Where to go when done executing the Expression whose target this is.
Labelfunction
A function to call (using jsr/jsr_w).
Declarationparam
Where to place each value.
Scopescope
A surrounding Scope for local Variables.
Method Summary
voidcompileFromStack(Compilation comp, Type stackType)
voidcompileFromStackSimple(Compilation comp, Type stackType)
TypegetType()
StringtoString()

Field Detail

done

public Label done
Where to go when done executing the Expression whose target this is. If null, execution should continue just after the Expression.

function

public Label function
A function to call (using jsr/jsr_w).

param

public Declaration param
Where to place each value.

scope

public Scope scope
A surrounding Scope for local Variables. This Scope should include both any calls to compileFromStackSimple and the entirety of the 'function' subroutine. This is protect against where a variable logically goes out of scope, but we cannot re-use the local variable slot until we're past the 'function'.

Method Detail

compileFromStack

public void compileFromStack(Compilation comp, Type stackType)

compileFromStackSimple

public void compileFromStackSimple(Compilation comp, Type stackType)

getType

public Type getType()

toString

public String toString()