Package | Description |
---|---|
org.jparsec.examples.java.ast.declaration | |
org.jparsec.examples.java.ast.expression | |
org.jparsec.examples.java.ast.statement | |
org.jparsec.examples.java.ast.type |
Modifier and Type | Field and Description |
---|---|
TypeLiteral |
TypeParameterDef.bound |
TypeLiteral |
MethodDef.returnType |
TypeLiteral |
ClassDef.superclass |
TypeLiteral |
FieldDef.type |
Modifier and Type | Field and Description |
---|---|
List<TypeLiteral> |
MethodDef.exceptions |
List<TypeLiteral> |
ConstructorDef.exceptions |
List<TypeLiteral> |
InterfaceDef.interfaces |
List<TypeLiteral> |
EnumDef.interfaces |
List<TypeLiteral> |
ClassDef.interfaces |
Constructor and Description |
---|
ClassDef(List<Modifier> modifiers,
String name,
List<TypeParameterDef> typeParameters,
TypeLiteral superclass,
List<TypeLiteral> interfaces,
DefBody body) |
FieldDef(List<Modifier> modifiers,
TypeLiteral type,
String name,
Expression value) |
MethodDef(List<Modifier> modifiers,
List<TypeParameterDef> typeParameters,
TypeLiteral returnType,
String name,
List<ParameterDef> parameters,
List<TypeLiteral> exceptions,
Expression defaultValue,
BlockStatement body) |
TypeParameterDef(String name,
TypeLiteral bound) |
Constructor and Description |
---|
ClassDef(List<Modifier> modifiers,
String name,
List<TypeParameterDef> typeParameters,
TypeLiteral superclass,
List<TypeLiteral> interfaces,
DefBody body) |
ConstructorDef(List<Modifier> modifiers,
String name,
List<ParameterDef> parameters,
List<TypeLiteral> exceptions,
BlockStatement body) |
EnumDef(List<Modifier> modifiers,
String name,
List<TypeLiteral> interfaces,
List<EnumDef.Value> values,
List<Member> members) |
InterfaceDef(List<Modifier> modifiers,
String name,
List<TypeParameterDef> typeParameters,
List<TypeLiteral> interfaces,
DefBody body) |
MethodDef(List<Modifier> modifiers,
List<TypeParameterDef> typeParameters,
TypeLiteral returnType,
String name,
List<ParameterDef> parameters,
List<TypeLiteral> exceptions,
Expression defaultValue,
BlockStatement body) |
Modifier and Type | Field and Description |
---|---|
TypeLiteral |
ClassLiteral.className |
TypeLiteral |
NewArrayExpression.elementType |
TypeLiteral |
NewExpression.type |
TypeLiteral |
CastExpression.type |
TypeLiteral |
InstanceOfExpression.typeLiteral |
Modifier and Type | Field and Description |
---|---|
Optional<TypeLiteral> |
LambdaExpression.Parameter.type |
List<TypeLiteral> |
MethodReference.typeParameters |
List<TypeLiteral> |
MethodCallExpression.typeParameters |
Constructor and Description |
---|
CastExpression(TypeLiteral type,
Expression expression) |
ClassLiteral(TypeLiteral className) |
InstanceOfExpression(Expression expression,
TypeLiteral typeLiteral) |
NewArrayExpression(TypeLiteral type,
Expression length,
List<Expression> initializer) |
NewExpression(Expression qualifier,
TypeLiteral type,
List<Expression> arguments,
DefBody classBody) |
Parameter(TypeLiteral type,
String name) |
Constructor and Description |
---|
MethodCallExpression(Expression target,
List<TypeLiteral> typeParameters,
String method,
List<Expression> arguments) |
MethodReference(Expression owner,
List<TypeLiteral> typeParameters,
String name) |
Modifier and Type | Field and Description |
---|---|
TypeLiteral |
VarStatement.type |
TypeLiteral |
ParameterDef.type |
TypeLiteral |
ForeachStatement.type |
TypeLiteral |
Annotation.type |
Constructor and Description |
---|
Annotation(TypeLiteral type,
List<Annotation.Element> elements) |
ForeachStatement(TypeLiteral type,
String var,
Expression of,
Statement statement) |
ParameterDef(List<Modifier> modifiers,
TypeLiteral type,
boolean vararg,
String name) |
VarStatement(List<Modifier> modifiers,
TypeLiteral type,
List<VarStatement.Var> vars) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayTypeLiteral
Represents an array type literal.
|
class |
LowerBoundWildcard
Represents "? super SomeBound" type literal.
|
class |
SimpleTypeLiteral
Represents a non-array type literal.
|
class |
UpperBoundWildcard
Represents "? extends SomeBound" type literal.
|
Modifier and Type | Field and Description |
---|---|
TypeLiteral |
UpperBoundWildcard.bound |
TypeLiteral |
LowerBoundWildcard.bound |
TypeLiteral |
ArrayTypeLiteral.elementType |
Modifier and Type | Field and Description |
---|---|
List<TypeLiteral> |
SimpleTypeLiteral.arguments |
Constructor and Description |
---|
ArrayTypeLiteral(TypeLiteral elementType) |
LowerBoundWildcard(TypeLiteral bound) |
UpperBoundWildcard(TypeLiteral bound) |
Constructor and Description |
---|
SimpleTypeLiteral(List<String> names,
List<TypeLiteral> arguments) |
Copyright © 2013–2016 jparsec. All rights reserved.