Modifier and Type | Class and Description |
---|---|
class |
ASTAssignment
Decaf assignment statement.
|
class |
ASTBreak
Decaf "break" statement (should be inside a loop structure).
|
class |
ASTConditional
Decaf control structure; a block of code that is only executed if the
condition is true when the code is encountered during execution. |
class |
ASTContinue
Decaf "continue" statement (should be inside a loop structure).
|
class |
ASTReturn
Decaf "return" statement (should be inside of a function).
|
class |
ASTVoidFunctionCall
Decaf function call that is NOT intended to return a value.
|
class |
ASTWhileLoop
Decaf loop structure; contains a "guard" expression and a loop body block.
|
Modifier and Type | Field and Description |
---|---|
List<ASTStatement> |
ASTBlock.statements |
Modifier and Type | Method and Description |
---|---|
ASTStatement |
MyDecafParser.parseStatement(Queue<Token> tokens) |
Copyright © 2019. All rights reserved.