| Package | Description |
|---|---|
| org.classdump.luna.compiler.analysis |
Static analysis of Lua programs operating on the IR.
|
| org.classdump.luna.compiler.analysis.types |
Classes representing Lua types, used in static analysis.
|
| Modifier and Type | Method and Description |
|---|---|
TypeSeq |
TypeInfo.returnType() |
TypeSeq |
TypeInfo.typeOf(MultiVal mv) |
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
TypeInfo.of(Map<Val,Type> valTypes,
Map<PhiVal,Type> phiValTypes,
Map<MultiVal,TypeSeq> multiValTypes,
Set<Var> vars,
Set<Var> reifiedVars,
TypeSeq returnType) |
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
TypeInfo.of(Map<Val,Type> valTypes,
Map<PhiVal,Type> phiValTypes,
Map<MultiVal,TypeSeq> multiValTypes,
Set<Var> vars,
Set<Var> reifiedVars,
TypeSeq returnType) |
| Constructor and Description |
|---|
TypeInfo(Map<AbstractVal,Type> types,
Map<MultiVal,TypeSeq> multiTypes,
Map<Var,Boolean> vars,
TypeSeq returnType) |
| Constructor and Description |
|---|
TypeInfo(Map<AbstractVal,Type> types,
Map<MultiVal,TypeSeq> multiTypes,
Map<Var,Boolean> vars,
TypeSeq returnType) |
| Modifier and Type | Field and Description |
|---|---|
protected TypeSeq |
FunctionType.returnTypes |
TypeSeq |
ReturnType.ConcreteReturnType.typeSeq |
TypeSeq |
ReturnType.TailCallReturnType.typeSeq |
protected TypeSeq |
FunctionType.typeSeq |
| Modifier and Type | Method and Description |
|---|---|
TypeSeq |
FunctionType.argumentTypes() |
static TypeSeq |
TypeSeq.empty() |
TypeSeq |
TypeSeq.join(TypeSeq that) |
TypeSeq |
TypeSeq.meet(TypeSeq that) |
static TypeSeq |
TypeSeq.of(List<Type> fixed,
boolean vararg) |
static TypeSeq |
TypeSeq.of(Type... fixed) |
TypeSeq |
TypeSeq.prefixedBy(Type[] types) |
TypeSeq |
TypeSeq.restrict(TypeSeq that) |
TypeSeq |
FunctionType.returnTypes() |
static TypeSeq |
TypeSeq.vararg() |
TypeSeq |
TypeSeq.withVararg() |
| Modifier and Type | Method and Description |
|---|---|
PartialOrderComparisonResult |
TypeSeq.comparePointwiseTo(TypeSeq that) |
static FunctionType |
LuaTypes.functionType(TypeSeq argTypes,
TypeSeq returnTypes) |
boolean |
TypeSeq.isConsistentSubtypeOf(TypeSeq that) |
boolean |
TypeSeq.isConsistentWith(TypeSeq that) |
boolean |
TypeSeq.isSubsumedBy(TypeSeq that) |
TypeSeq |
TypeSeq.join(TypeSeq that) |
TypeSeq |
TypeSeq.meet(TypeSeq that) |
TypeSeq |
TypeSeq.restrict(TypeSeq that) |
| Constructor and Description |
|---|
ConcreteReturnType(TypeSeq typeSeq) |
TailCallReturnType(Type target,
TypeSeq typeSeq) |
Copyright © 2016–2017. All rights reserved.