Serialized Form


Package jparse

Class jparse.ConstrAST extends JavaAST implements Serializable

Serialized Fields

modifiers

ModifierAST modifiers
The modifiers for this constructor


paramNames

ParameterAST[] paramNames
The names of the parameter for this constructor


paramTypes

Type[] paramTypes
The parameter types for this constructor


exceptNames

IdentifierAST[] exceptNames
The names of the exception types thrown by this constructor


exceptions

Type[] exceptions
The checked exceptions this constructor might throw


body

CompoundAST body
The body of the constructor

Class jparse.FileAST extends JavaAST implements Serializable

Serialized Fields

theFile

File theFile
The file that was parsed to create this AST


pkg

String pkg
The package for this file, or null for the default package


imports

String[] imports
The import statements for this file


types

TypeAST[] types
The top-level class and interface definitions for this file


map

HashMap map
A mapping from class names to types, in the context of the import list for this file

Class jparse.JavaAST extends antlr.CommonASTWithHiddenTokens implements Serializable

Serialized Fields

symTable

SymbolTable symTable
The symbols in the context of this AST node


topLevel

FileAST topLevel
The top-level node for this file


typeAST

TypeAST typeAST
The type (class or interface) containing this AST node

Class jparse.MethAST extends JavaAST implements Serializable

Serialized Fields

modifiers

ModifierAST modifiers
The modifiers for this method


returnName

TypeAST returnName
The name of the return type for this method


returnBrackets

JavaAST returnBrackets
Any brackets to add onto the return type


returnType

Type returnType
The return type for this method


methodName

IdentifierAST methodName
The name of the method


paramNames

ParameterAST[] paramNames
The names of the parameters for this method


paramTypes

Type[] paramTypes
The parameter types for this method


exceptNames

IdentifierAST[] exceptNames
The names of the exception types thrown by this method


exceptions

Type[] exceptions
The checked exceptions this method might throw


body

CompoundAST body
The body of the method

Class jparse.ModifierAST extends JavaAST implements Serializable

Serialized Fields

mods

int mods
The modifier values represented by this modifier AST

Class jparse.ParameterAST extends JavaAST implements Serializable

Serialized Fields

mods

ModifierAST mods
The modifiers for this parameter


typeAST

TypeAST typeAST
The declared type of this parameter


var

VarAST var
The parameter name and trailing brackets

Class jparse.TypeAST extends JavaAST implements Serializable

Serialized Fields

type

SourceType type
The type object corresponding to this AST


name

String name
The fully qualified name of this type


outer

TypeAST outer
The outer class for this type


inner

TypeAST[] inner
The inner classes of this class


modifiers

ModifierAST modifiers
The modifiers for this type


superclass

String superclass
The superclass of this class


interfaces

String[] interfaces
The interfaces implemented by this class or the superinterfaces of this interface


constructors

ConstrAST[] constructors
The constructors for this type


anon

int anon
The count of anonymous inner classes


Package jparse.expr

Class jparse.expr.ArithmeticAST extends ExpressionAST implements Serializable

Serialized Fields

left

ExpressionAST left
The left expression


right

ExpressionAST right
The right expression

Class jparse.expr.ArrayInitAST extends ExpressionAST implements Serializable

Serialized Fields

baseType

TypeAST baseType
The base type of the array being initialized


initializers

ExpressionAST[] initializers
The list of initializers


dim

int dim
The dimension of this array initializer

Class jparse.expr.AssignAST extends ExpressionAST implements Serializable

Serialized Fields

lhs

ExpressionAST lhs
The left-hand side of the assignment


rhs

ExpressionAST rhs
The right-hand side of the assignment

Class jparse.expr.BitwiseAST extends ExpressionAST implements Serializable

Serialized Fields

left

ExpressionAST left
The left expression


right

ExpressionAST right
The right expression

Class jparse.expr.BooleanAST extends ExpressionAST implements Serializable

Serialized Fields

left

ExpressionAST left
The left expression


right

ExpressionAST right
The right expression

Class jparse.expr.BooleanLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.CharLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.ConditionalAST extends ExpressionAST implements Serializable

Serialized Fields

conditionPart

ExpressionAST conditionPart
The "condition" part of the conditional


thenPart

ExpressionAST thenPart
The "then" part of the conditional


elsePart

ExpressionAST elsePart
The "else" part of the conditional

Class jparse.expr.ExpressionAST extends JavaAST implements Serializable

Serialized Fields

type

Type type
The type of this expression


exceptions

Type[] exceptions
The checked exceptions this expression might throw


value

Object value
The constant value of this expression (possibly wrapped), or null if the expression is not constant

Class jparse.expr.FloatLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.IdentifierAST extends ExpressionAST implements Serializable

Serialized Fields

name

String name
The full name of this identifier


isMethod

boolean isMethod
true if this is a method name

Class jparse.expr.IndexAST extends ExpressionAST implements Serializable

Serialized Fields

base

ExpressionAST base
The base of the index expression (i.e., the value being indexed)


index

ExpressionAST index
The index

Class jparse.expr.InitializerAST extends ExpressionAST implements Serializable

Serialized Fields

rhs

ExpressionAST rhs
The right-hand side of the initialization

Class jparse.expr.ListAST extends ExpressionAST implements Serializable

Serialized Fields

list

ExpressionAST[] list
The list of expressions


types

Type[] types
The types of the expressions in this expression list

Class jparse.expr.MethodCallAST extends ExpressionAST implements Serializable

Serialized Fields

object

ExpressionAST object
The object on which to call


method

IdentifierAST method
The name of the method to call


parameters

ListAST parameters
The parameters of the call


theMethod

Method theMethod
The method that this call is calling (for method calls)


theConstructor

Constructor theConstructor
The constructor that this call is calling (for constructor calls)

Class jparse.expr.NewAST extends ExpressionAST implements Serializable

Serialized Fields

typeName

IdentifierAST typeName
The type to instantiate


anonymous

TypeAST anonymous
If this is a new anonymous type, this is the AST for the anonymous class


dimensions

int dimensions
If this is a new array expression, this is the number of dimensions in the array


parameters

ListAST parameters
The parameters, for an object constructor


theCons

Constructor theCons
The constructor being accessed by this use of new

Class jparse.expr.NullLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.NumLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.ParenthesizedAST extends ExpressionAST implements Serializable

Serialized Fields

parenthesized

ExpressionAST parenthesized
The parenthesized expression

Class jparse.expr.ShiftAST extends ExpressionAST implements Serializable

Serialized Fields

left

ExpressionAST left
The left expression


right

ExpressionAST right
The right expression

Class jparse.expr.StringLiteralAST extends ExpressionAST implements Serializable

Class jparse.expr.ThisLiteralAST extends IdentifierAST implements Serializable

Class jparse.expr.TypeAST extends IdentifierAST implements Serializable

Class jparse.expr.TypecastAST extends ExpressionAST implements Serializable

Serialized Fields

castType

TypeAST castType
The type to cast to


castExpr

ExpressionAST castExpr
The expression to cast

Class jparse.expr.UnaryArithAST extends ExpressionAST implements Serializable

Serialized Fields

operand

ExpressionAST operand
The expression on which to perform this unary operation

Class jparse.expr.VarAST extends IdentifierAST implements Serializable

Serialized Fields

mods

ModifierAST mods
The modifiers for this variable


declType

TypeAST declType
The declared type of this variable


brackets

JavaAST brackets
Any trailing array brackets on the declaration


initializer

InitializerAST initializer
The initializer (if any) for this variable


field

boolean field
true if this is a field (static or instance variable); false if this is a local variable (including parameters)


Package jparse.stmt

Class jparse.stmt.BreakAST extends StatementAST implements Serializable

Serialized Fields

label

IdentifierAST label
The break label

Class jparse.stmt.CaseGroupAST extends StatementAST implements Serializable

Serialized Fields

stmtList

StatementAST[] stmtList
The statement list

Class jparse.stmt.CatchAST extends StatementAST implements Serializable

Serialized Fields

param

VarAST param
The catch parameter


body

CompoundAST body
The catch body

Class jparse.stmt.ClassAST extends StatementAST implements Serializable

Serialized Fields

type

TypeAST type
The class definition

Class jparse.stmt.CompoundAST extends StatementAST implements Serializable

Serialized Fields

stmtList

StatementAST[] stmtList
The statement list

Class jparse.stmt.ContinueAST extends StatementAST implements Serializable

Serialized Fields

label

IdentifierAST label
The continue label

Class jparse.stmt.DeclarationAST extends StatementAST implements Serializable

Serialized Fields

modifiers

ModifierAST modifiers
The modifiers for this declaration


typeSpec

TypeAST typeSpec
The type for this declaration


variables

VarAST[] variables
The variables declared in this declaration

Class jparse.stmt.DoWhileAST extends StatementAST implements Serializable

Serialized Fields

cond

ExpressionAST cond
The condition test


stmt

StatementAST stmt
The statement

Class jparse.stmt.EmptyAST extends StatementAST implements Serializable

Class jparse.stmt.ExpressionAST extends StatementAST implements Serializable

Serialized Fields

expression

ExpressionAST expression
The expression

Class jparse.stmt.ForAST extends StatementAST implements Serializable

Serialized Fields

init

HasExceptions init
The initializer, either a DeclarationAST or a ListAST


cond

ExpressionAST cond
The condition test


incr

ExpressionAST incr
The increment


stmt

StatementAST stmt
The statement

Class jparse.stmt.IfElseAST extends StatementAST implements Serializable

Serialized Fields

condition

ExpressionAST condition
The conditional


thenStmt

StatementAST thenStmt
The "then" statement


elseStmt

StatementAST elseStmt
The "else" statement

Class jparse.stmt.LabelAST extends StatementAST implements Serializable

Serialized Fields

labeled

StatementAST labeled
The labeled statement

Class jparse.stmt.ReturnAST extends StatementAST implements Serializable

Serialized Fields

expr

ExpressionAST expr
The expression to return

Class jparse.stmt.StatementAST extends JavaAST implements Serializable

Serialized Fields

exceptions

Type[] exceptions
The checked exceptions this statement might throw


next

StatementAST next
The next statement in a sequential list of statements


control

StatementAST[] control
The points to which control might flow from this statement

Class jparse.stmt.SwitchAST extends StatementAST implements Serializable

Serialized Fields

expr

ExpressionAST expr
The expression to switch on


groupList

CaseGroupAST[] groupList
The list of cases groups Each cases group is a block of code separated by case or default labels.

Class jparse.stmt.SynchronizedAST extends StatementAST implements Serializable

Serialized Fields

lock

ExpressionAST lock
The object to lock


body

CompoundAST body
The statement

Class jparse.stmt.ThrowAST extends StatementAST implements Serializable

Serialized Fields

throwable

ExpressionAST throwable
The object to throw

Class jparse.stmt.TryAST extends StatementAST implements Serializable

Serialized Fields

block

CompoundAST block
The try block


catchClause

CatchAST[] catchClause
The catch clauses


finallyClause

CompoundAST finallyClause
The finally clause

Class jparse.stmt.WhileAST extends StatementAST implements Serializable

Serialized Fields

cond

ExpressionAST cond
The condition test


stmt

StatementAST stmt
The statement