ist.palcom.st.ast
Class ASTLoopExpression

java.lang.Object
  extended by ist.palcom.st.ast.ASTExpression
      extended by ist.palcom.st.ast.ASTLoopExpression

public class ASTLoopExpression
extends ASTExpression


Field Summary
static int ALWAYS_TRUE_CONDITION
           
static int PART1_IS_CONDITION
           
static int PART2_IS_CONDITION
           
 
Fields inherited from class ist.palcom.st.ast.ASTExpression
empty_list
 
Constructor Summary
ASTLoopExpression(ASTExpression part1, ASTExpression part2, int condition, boolean continueWhen, java.util.List assignments)
           
 
Method Summary
 boolean compile(ASTBytecodeGenerator generator, ASTBlock context, boolean resultWillBeDiscarded)
           
 java.util.List<ASTExpression> getSubExpressions()
          Returns a read-only list of expressions below this one in the AST
 
Methods inherited from class ist.palcom.st.ast.ASTExpression
compile_assignments, disambiguateVariables, inlineBlocks, isInlinableBlock, liftLocals, renameVariable, set_assignments, setContextOfSubblocks, setFields, subexpressionsHaveVariableNamed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PART1_IS_CONDITION

public static final int PART1_IS_CONDITION
See Also:
Constant Field Values

PART2_IS_CONDITION

public static final int PART2_IS_CONDITION
See Also:
Constant Field Values

ALWAYS_TRUE_CONDITION

public static final int ALWAYS_TRUE_CONDITION
See Also:
Constant Field Values
Constructor Detail

ASTLoopExpression

public ASTLoopExpression(ASTExpression part1,
                         ASTExpression part2,
                         int condition,
                         boolean continueWhen,
                         java.util.List assignments)
Method Detail

compile

public boolean compile(ASTBytecodeGenerator generator,
                       ASTBlock context,
                       boolean resultWillBeDiscarded)
Specified by:
compile in class ASTExpression

getSubExpressions

public java.util.List<ASTExpression> getSubExpressions()
Description copied from class: ASTExpression
Returns a read-only list of expressions below this one in the AST

Specified by:
getSubExpressions in class ASTExpression