| Package | Description |
|---|---|
| org.classdump.luna.parser |
Core classes of the Lua 5.3 parser.
|
| org.classdump.luna.parser.ast |
The abstract syntax tree (AST) representation of Lua programs.
|
| org.classdump.luna.parser.util |
Parsing and syntax utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Block |
Parser.Block() |
| Modifier and Type | Method and Description |
|---|---|
static DoStatement |
Statements.doStatement(SourceInfo src,
Block block) |
static FunctionDefExpr |
Exprs.functionDef(SourceInfo src,
FunctionDefExpr.Params params,
Block block) |
static GenericForStatement |
Statements.genericForStatement(SourceInfo src,
List<Name> names,
List<Expr> exprs,
Block block) |
static IfStatement |
Statements.ifStatement(SourceInfo src,
ConditionalBlock main,
List<ConditionalBlock> elifs,
Block elseBlock) |
static NumericForStatement |
Statements.numericForStatement(SourceInfo src,
Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
static RepeatUntilStatement |
Statements.repeatUntilStatement(SourceInfo src,
Expr condition,
Block block) |
static WhileStatement |
Statements.whileStatement(SourceInfo src,
Expr condition,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
Block |
WhileStatement.block() |
Block |
RepeatUntilStatement.block() |
Block |
NumericForStatement.block() |
Block |
GenericForStatement.block() |
Block |
FunctionDefExpr.block() |
Block |
DoStatement.block() |
Block |
ConditionalBlock.block() |
Block |
Chunk.block() |
Block |
IfStatement.elseBlock() |
Block |
Visitor.transform(Block block) |
Block |
Transformer.transform(Block block) |
Block |
Block.update(List<BodyStatement> statements,
ReturnStatement ret) |
| Modifier and Type | Method and Description |
|---|---|
Block |
Visitor.transform(Block block) |
Block |
Transformer.transform(Block block) |
DoStatement |
DoStatement.update(Block block) |
Chunk |
Chunk.update(Block block) |
IfStatement |
IfStatement.update(ConditionalBlock main,
List<ConditionalBlock> elifs,
Block elseBlock) |
WhileStatement |
WhileStatement.update(Expr condition,
Block block) |
RepeatUntilStatement |
RepeatUntilStatement.update(Expr condition,
Block block) |
ConditionalBlock |
ConditionalBlock.update(Expr condition,
Block block) |
FunctionDefExpr |
FunctionDefExpr.update(FunctionDefExpr.Params params,
Block block) |
GenericForStatement |
GenericForStatement.update(List<Name> names,
List<Expr> exprs,
Block block) |
NumericForStatement |
NumericForStatement.update(Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
abstract void |
Visitor.visit(Block block) |
| Constructor and Description |
|---|
Chunk(Attributes attr,
Block block) |
Chunk(Block block) |
ConditionalBlock(Expr condition,
Block block) |
DoStatement(Attributes attr,
Block block) |
FunctionDefExpr(Attributes attr,
FunctionDefExpr.Params params,
Block block) |
GenericForStatement(Attributes attr,
List<Name> names,
List<Expr> exprs,
Block block) |
IfStatement(Attributes attr,
ConditionalBlock main,
List<ConditionalBlock> elifs,
Block elseBlock) |
NumericForStatement(Attributes attr,
Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
RepeatUntilStatement(Attributes attr,
Expr condition,
Block block) |
WhileStatement(Attributes attr,
Expr condition,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
void |
FormattingPrinterVisitor.visit(Block block) |
Copyright © 2016–2017. All rights reserved.