| Package | Description |
|---|---|
| org.classdump.luna.compiler.ir |
The intermediate representation (IR) of Lua programs used by the compiler.
|
| org.classdump.luna.parser |
Core classes of the Lua 5.3 parser.
|
| org.classdump.luna.parser.analysis |
Syntactic analysis of Lua programs.
|
| org.classdump.luna.parser.ast |
The abstract syntax tree (AST) representation of Lua programs.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
UpVar.name() |
| Modifier and Type | Method and Description |
|---|---|
UpVar |
RegProvider.newUpVar(Name name) |
| Constructor and Description |
|---|
UpVar(Name name) |
| Modifier and Type | Method and Description |
|---|---|
Name |
Parser.Name() |
| Modifier and Type | Method and Description |
|---|---|
List<org.classdump.luna.parser.SourceElement<Name>> |
Parser.NameList() |
org.classdump.luna.parser.SourceElement<Name> |
Parser.SrcName() |
| Modifier and Type | Method and Description |
|---|---|
static GotoStatement |
Statements.gotoStatement(SourceInfo src,
Name labelName) |
static LabelStatement |
Statements.labelStatement(SourceInfo src,
Name labelName) |
static LocalDeclStatement |
Statements.localDeclStatement(SourceInfo src,
Name n) |
static CallExpr.MethodCallExpr |
Exprs.methodCall(SourceInfo src,
Expr target,
Name methodName,
List<Expr> args) |
static NumericForStatement |
Statements.numericForStatement(SourceInfo src,
Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
static VarExpr |
Exprs.var(SourceInfo src,
Name name) |
| Modifier and Type | Method and Description |
|---|---|
static GenericForStatement |
Statements.genericForStatement(SourceInfo src,
List<Name> names,
List<Expr> exprs,
Block block) |
static LocalDeclStatement |
Statements.localDeclStatement(SourceInfo src,
List<Name> names) |
static LocalDeclStatement |
Statements.localDeclStatement(SourceInfo src,
List<Name> names,
List<Expr> initialisers) |
| Modifier and Type | Field and Description |
|---|---|
static Name |
Variable.ENV_NAME |
| Modifier and Type | Method and Description |
|---|---|
Name |
Variable.name() |
| Constructor and Description |
|---|
Variable(Name name) |
| Modifier and Type | Method and Description |
|---|---|
static Name |
Name.fromString(String s) |
Name |
LabelStatement.labelName() |
Name |
GotoStatement.labelName() |
Name |
CallExpr.MethodCallExpr.methodName() |
Name |
VarExpr.name() |
Name |
NumericForStatement.name() |
Name |
Transformer.transform(Name n) |
| Modifier and Type | Method and Description |
|---|---|
List<Name> |
LocalDeclStatement.names() |
List<Name> |
GenericForStatement.names() |
List<Name> |
FunctionDefExpr.Params.names() |
protected List<Name> |
Transformer.transformNameList(List<Name> names) |
| Modifier and Type | Method and Description |
|---|---|
static StringLiteral |
StringLiteral.fromName(Name n) |
Name |
Transformer.transform(Name n) |
CallExpr.MethodCallExpr |
CallExpr.MethodCallExpr.update(Expr target,
Name methodName,
List<Expr> args) |
LabelStatement |
LabelStatement.update(Name labelName) |
GotoStatement |
GotoStatement.update(Name labelName) |
NumericForStatement |
NumericForStatement.update(Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Name> |
Transformer.transformNameList(List<Name> names) |
FunctionDefExpr.Params |
FunctionDefExpr.Params.update(List<Name> names,
boolean vararg) |
LocalDeclStatement |
LocalDeclStatement.update(List<Name> names,
List<Expr> initialisers) |
GenericForStatement |
GenericForStatement.update(List<Name> names,
List<Expr> exprs,
Block block) |
| Constructor and Description |
|---|
GotoStatement(Attributes attr,
Name labelName) |
LabelStatement(Attributes attr,
Name labelName) |
MethodCallExpr(Attributes attr,
Expr target,
Name methodName,
List<Expr> args) |
NumericForStatement(Attributes attr,
Name name,
Expr init,
Expr limit,
Expr step,
Block block) |
VarExpr(Attributes attr,
Name name) |
| Constructor and Description |
|---|
GenericForStatement(Attributes attr,
List<Name> names,
List<Expr> exprs,
Block block) |
LocalDeclStatement(Attributes attr,
List<Name> names,
List<Expr> initialisers) |
Params(List<Name> names,
boolean vararg) |
Copyright © 2016–2017. All rights reserved.