|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
this
with the abstract
flag set.
Block
represents a Java block statement -- an immutable
sequence of statements.DelFactory
provides
a way of chaining together DelFactories, and default implementations
of factory methods for each node.StdErrorQueue
handles outputing error messages.ExtensionInfo
.ExtFactory
provides
a way of chaining together ExtFactories, and default implementations
of factory methods for each node.ct
that may contain abstract methods that must be
implemented by ct
.
flags
in package pkg1
is accessible from package
pkg2
.
+
when applied to numbers, and the precedence of -
.
o
appended to l
.
polyglot.types.Type
to the set
only if it has no supertypes already in the set.
SourceJob
for the Source source
.
SourceJob
for the Source source
,
with AST ast
.
ct
.
newPasses
into passes
immediately after the pass named id
.
pass
into passes
immediately after the pass named id
.
AlphaRenamer
runs over the AST and alpha-renames any local
variable declarations that it encounters.Assign
represents a Java assignment expression.AmbAssign
represents a Java assignment expression to
an as yet unknown expression.AmbExpr
is an ambiguous AST node composed of a single
identifier that must resolve to an expression.AmbExpr
is an ambiguous AST node composed of a single
identifier that must resolve to an expression.Ambiguous
represents an ambiguous AST node.AmbPrefix
is an ambiguous AST node composed of dot-separated
list of identifiers that must resolve to a prefix.AmbPrefix
is an ambiguous AST node composed of dot-separated
list of identifiers that must resolve to a prefix.AmbQualifierNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type qualifier.AmbQualifierNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type qualifier.AmbReceiver
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a receiver.AmbReceiver
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a receiver.AmbTypeNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type.AmbTypeNode
is an ambiguous AST node composed of
dot-separated list of identifiers that must resolve to a type.java.lang.ArithmeticException
dims
-dimensional
array of n
.
ArrayAccess
is an immutable representation of an
access of an array member.ArrayAccess
is an immutable representation of an
access of an array member.ArrayAccessAssign
represents a Java assignment expression
to an array element.ArrayAccessAssign_c
represents a Java assignment expression
to an array element.ArrayInit
is an immutable representation of
an array initializer, such as { 3, 1, { 4, 1, 5 } }.ArrayInit
is an immutable representation of
an array initializer, such as { 3, 1, { 4, 1, 5 } }.dims
-array of this type.
dims
-array of this type.
type
type
dims
-array of type
dims
-array of type
java.lang.ArrayStoreException
ArrayType
represents an array of other types.ArrayType
represents an array of base java types.ArrayTypeNode
is a type node for a non-canonical
array type.TypeNode
represents the syntactic representation of a
Type
within the abstract syntax tree.e
is
a primitive type, and the type toType
is a reference type.
ascribe()
method is called for each expression
and is passed the type the expression is used at rather
than the type the type
checker assigns to it.
assert
statement.Assert
is an assert statement.Assign
represents a Java assignment expression.Assign
represents a Java assignment expression.BarrierPass
is a special pass that ensures that
all jobs that a given job J
depends on have completed at
least up to the last BarrierPass
that J
has
completed.Base64.InputStream
will read data from another
java.io.InputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.InputStream
in DECODE mode.
Base64.InputStream
in
either ENCODE or DECODE mode.
Base64.OutputStream
will write data to another
java.io.OutputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.OutputStream
in ENCODE mode.
Base64.OutputStream
in
either ENCODE or DECODE mode.
newPasses
into passes
immediately before the pass named id
.
pass
into passes
immediately before the pass named id
.
begin
and end
will
be performed.
n
characters.
n
characters.
Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator.Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator.&) expressions.
- BIT_AND_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- BIT_NOT -
Static variable in interface polyglot.ast.Unary
-
- BIT_OR -
Static variable in interface polyglot.ast.Binary
-
- BIT_OR -
Static variable in class polyglot.ast.Precedence
- The precedence of bitwise OR (
|) expressions.
- BIT_OR_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- BIT_XOR -
Static variable in interface polyglot.ast.Binary
-
- BIT_XOR -
Static variable in class polyglot.ast.Precedence
- The precedence of bitwise XOR (
^) expressions.
- BIT_XOR_ASSIGN -
Static variable in interface polyglot.ast.Assign
-
- bits -
Variable in class polyglot.types.Flags
- Bit set use to implement a flag set.
- BitVector - Class in polyglot.util
- A bit vector class implemented more naively than java.util.BitSet.
- BitVector() -
Constructor for class polyglot.util.BitVector
-
- BitVector(int) -
Constructor for class polyglot.util.BitVector
-
- Block - Interface in polyglot.ast
- A
Block
represents a Java block statement -- an immutable
sequence of statements. - Block(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, Stmt, Stmt, Stmt, Stmt) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position, List) -
Method in interface polyglot.ast.NodeFactory
-
- Block(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, Stmt, Stmt, Stmt, Stmt) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Block(Position, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- BLOCK -
Static variable in class polyglot.ext.jl.types.Context_c
-
- Block_c - Class in polyglot.ext.jl.ast
- A
Block
represents a Java block statement -- an immutable
sequence of statements. - Block_c(Position, List) -
Constructor for class polyglot.ext.jl.ast.Block_c
-
- body() -
Method in interface polyglot.ast.Catch
- The body of the catch block.
- body(Block) -
Method in interface polyglot.ast.Catch
- Set the body of the catch block.
- body() -
Method in interface polyglot.ast.ClassDecl
- The class's body.
- body(ClassBody) -
Method in interface polyglot.ast.ClassDecl
- Set the class's body.
- body() -
Method in interface polyglot.ast.CodeDecl
- The body of the method, constructor, or initializer.
- body(Block) -
Method in interface polyglot.ast.CodeDecl
- Set the body.
- body(Stmt) -
Method in interface polyglot.ast.Do
- Set the body of the do statement.
- body(Stmt) -
Method in interface polyglot.ast.For
- Set the loop body
- body() -
Method in interface polyglot.ast.Loop
- Loop body.
- body() -
Method in interface polyglot.ast.New
- The class body for anonymous classes, or null.
- body(ClassBody) -
Method in interface polyglot.ast.New
- Set the class body for anonymous classes.
- body() -
Method in interface polyglot.ast.Synchronized
- The body in that the lock is held.
- body(Block) -
Method in interface polyglot.ast.Synchronized
- Set the body in that the lock is held.
- body(Stmt) -
Method in interface polyglot.ast.While
- Set the loop body.
- body -
Variable in class polyglot.ext.jl.ast.Catch_c
-
- body() -
Method in class polyglot.ext.jl.ast.Catch_c
- Get the body of the catch block.
- body(Block) -
Method in class polyglot.ext.jl.ast.Catch_c
- Set the body of the catch block.
- body -
Variable in class polyglot.ext.jl.ast.ClassDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- body(ClassBody) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- body -
Variable in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Get the body of the constructor.
- body(Block) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Set the body of the constructor.
- body -
Variable in class polyglot.ext.jl.ast.Do_c
-
- body() -
Method in class polyglot.ext.jl.ast.Do_c
- Get the body of the statement.
- body(Stmt) -
Method in class polyglot.ext.jl.ast.Do_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.For_c
-
- body() -
Method in class polyglot.ext.jl.ast.For_c
- Loop body
- body(Stmt) -
Method in class polyglot.ext.jl.ast.For_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.Initializer_c
-
- body() -
Method in class polyglot.ext.jl.ast.Initializer_c
- Get the body of the initializer.
- body(Block) -
Method in class polyglot.ext.jl.ast.Initializer_c
- Set the body of the initializer.
- body -
Variable in class polyglot.ext.jl.ast.MethodDecl_c
-
- body() -
Method in class polyglot.ext.jl.ast.MethodDecl_c
- Get the body of the method.
- body(Block) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
- Set the body of the method.
- body -
Variable in class polyglot.ext.jl.ast.New_c
-
- body() -
Method in class polyglot.ext.jl.ast.New_c
-
- body(ClassBody) -
Method in class polyglot.ext.jl.ast.New_c
-
- body -
Variable in class polyglot.ext.jl.ast.Synchronized_c
-
- body() -
Method in class polyglot.ext.jl.ast.Synchronized_c
- Get the body of the statement.
- body(Block) -
Method in class polyglot.ext.jl.ast.Synchronized_c
- Set the body of the statement.
- body -
Variable in class polyglot.ext.jl.ast.While_c
-
- body() -
Method in class polyglot.ext.jl.ast.While_c
- Get the body of the statement.
- body(Stmt) -
Method in class polyglot.ext.jl.ast.While_c
- Set the body of the statement.
- BOOLEAN -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.qq.sym
-
- Boolean() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- BOOLEAN -
Static variable in class polyglot.ext.pao.parse.sym
-
- Boolean - Class in polyglot.ext.pao.runtime
- Boxed booleans.
- Boolean(boolean) -
Constructor for class polyglot.ext.pao.runtime.Boolean
-
- BOOLEAN -
Static variable in interface polyglot.types.PrimitiveType
-
- Boolean() -
Method in interface polyglot.types.TypeSystem
boolean
- BOOLEAN_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.qq.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.pao.parse.sym
-
- BooleanLit - Interface in polyglot.ast
- A
BooleanLit
represents a boolean literal expression. - BooleanLit(Position, boolean) -
Method in interface polyglot.ast.NodeFactory
-
- BooleanLit(Position, boolean) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- BooleanLit_c - Class in polyglot.ext.jl.ast
- A
BooleanLit
represents a boolean literal expression. - BooleanLit_c(Position, boolean) -
Constructor for class polyglot.ext.jl.ast.BooleanLit_c
-
- BooleanLiteral - Class in polyglot.lex
- Token class for boolean literals.
- BooleanLiteral(Position, boolean, int) -
Constructor for class polyglot.lex.BooleanLiteral
-
- booleanValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- booleanValue() -
Method in class polyglot.ext.pao.runtime.Boolean
-
- bootclasspath -
Variable in class polyglot.main.Options
-
- BOTTOM -
Static variable in class polyglot.visit.InitChecker
-
- boundary() -
Method in interface polyglot.ast.IntLit
- Is this a boundary case, i.e., max int or max long + 1?
- boundary() -
Method in class polyglot.ext.jl.ast.IntLit_c
-
- boxedType(PrimitiveType) -
Method in interface polyglot.ext.pao.types.PaoTypeSystem
- Returns the class type used to represent boxed values of type
t
.
- boxedType(PrimitiveType) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
-
- Branch - Interface in polyglot.ast
- A
Branch
is an immutable representation of a branch
statment in Java (a break or continue). - Branch(Position, Branch.Kind) -
Method in interface polyglot.ast.NodeFactory
-
- Branch(Position, Branch.Kind, String) -
Method in interface polyglot.ast.NodeFactory
-
- Branch(Position, Branch.Kind) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Branch(Position, Branch.Kind, String) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Branch.Kind - Class in polyglot.ast
- Branch kind: either break or continue.
- Branch.Kind(String) -
Constructor for class polyglot.ast.Branch.Kind
-
- Branch_c - Class in polyglot.ext.jl.ast
- A
Branch
is an immutable representation of a branch
statment in Java (a break or continue). - Branch_c(Position, Branch.Kind, String) -
Constructor for class polyglot.ext.jl.ast.Branch_c
-
- BREAK -
Static variable in interface polyglot.ast.Branch
-
- Break(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Break(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- BREAK -
Static variable in class polyglot.ext.coffer.parse.sym
-
- Break(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Break(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- BREAK -
Static variable in class polyglot.ext.jl.parse.sym
-
- BREAK -
Static variable in class polyglot.ext.jl.qq.sym
-
- BREAK -
Static variable in class polyglot.ext.pao.parse.sym
-
- breakupString() -
Method in class polyglot.ext.jl.ast.StringLit_c
- Break a long string literal into a concatenation of small string
literals.
- BUILD_TYPES -
Static variable in interface polyglot.frontend.Pass
- ID of the build-types pass.
- BUILD_TYPES_ALL -
Static variable in interface polyglot.frontend.Pass
- ID of the barrier after build-types.
- buildTypes(TypeBuilder) -
Method in interface polyglot.ast.NodeOps
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.AmbKeySetNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferClassDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferConstructorDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.CofferMethodDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbQualifierNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbReceiver_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.AmbTypeNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ArrayTypeNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Call_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Expr_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Field_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Formal_c
- Build type objects for the formal.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Import_c
- Build type objects for the import.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Initializer_c
- Build type objects for the method.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.JL_c
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Local_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.LocalDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.New_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.SourceFile_c
- Build type objects for the source file.
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.TypeNode_c
-
- buildTypesEnter(TypeBuilder) -
Method in interface polyglot.ast.NodeOps
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ClassDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Initializer_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.JL_c
- Collects classes, methods, and fields from the AST rooted at this node
and constructs type objects for these.
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.MethodDecl_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.New_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- buildTypesEnter(TypeBuilder) -
Method in class polyglot.ext.jl.ast.SourceFile_c
- Build type objects for the source file.
- buildTypesOverride(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Node_c
-
- bypass(Node) -
Method in class polyglot.visit.HaltingVisitor
-
- bypass(Collection) -
Method in class polyglot.visit.HaltingVisitor
-
- bypassChildren(Node) -
Method in class polyglot.visit.HaltingVisitor
-
- BYTE -
Static variable in class polyglot.ext.coffer.parse.sym
-
- BYTE -
Static variable in class polyglot.ext.jl.parse.sym
-
- BYTE -
Static variable in class polyglot.ext.jl.qq.sym
-
- Byte() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- BYTE -
Static variable in class polyglot.ext.pao.parse.sym
-
- Byte - Class in polyglot.ext.pao.runtime
- Boxed bytes.
- Byte(byte) -
Constructor for class polyglot.ext.pao.runtime.Byte
-
- BYTE -
Static variable in interface polyglot.types.PrimitiveType
-
- Byte() -
Method in interface polyglot.types.TypeSystem
byte
- BYTE_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- byteValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- byteValue() -
Method in class polyglot.ext.pao.runtime.Byte
-
CachingResolver
memoizes another ResolverCall
is an immutable representation of a Java
method call.Call
is an immutable representation of a Java
method call.pi
can be called with
actual parameters of types actualTypes
.
CanonicalTypeNode
is a type node for a canonical type.CanonicalTypeNode
is a type node for a canonical type.mi
, false otherwise.
mi
can override mj
.
mi
.
Case
is a representation of a Java case
statement.Case
is a representation of a Java case
statement.Cast
is an immutable representation of a casting
operation.Cast
is an immutable representation of a casting
operation.Catch
represents one half of a try-catch
statement.Catch
represents one half of a try-catch
statement.char
CharLit
represents a literal in java of
char
type.CharLit
represents a literal in java of
char
type.f
are legal access flags.
ct
implements all abstract methods required;
that is, if it is a concrete class, then it must implement all
interfaces and abstract methods that it or it's superclasses declare, and if
it is an abstract class then any methods that it overrides are overridden
correctly.
ct
implements all abstract methods that it
has to; that is, if it is a concrete class, then it must implement all
interfaces and abstract methods that it or its superclasses declare.
f
are legal constructor flags.
t
has no cycles in the super type+nested class
graph starting at t
.
f
are legal field flags.
f
are legal initializer flags.
l
is used correctly.
f
are legal local class flags.
f
are legal local variable flags.
LocalInstance
s
localsUsed
, which is the set of locals used in the inner
class declared by cb
are initialized before the class declaration.
f
are legal member class flags.
f
are legal method flags.
mi
, throws
a SemanticException otherwise.
mi
cannot override
mj
.
f
are legal top-level class flags.
this
.
java.lang.Class
ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class.ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class.java.lang.ClassCastException
ClassContextResolver
looks up type names qualified with a class name.ClassDecl
represents a top-level, member, or local class
declaration.ClassDecl
is the definition of a class, abstract class,
or interface.ClassLit
represents a class literal expression.ClassLit
represents a class literal expression.ClassMember
is a method, a constructor, a field, an
initializer block, or another class declaration.ClassType
represents a class, either loaded from a
classpath, parsed from a source file, or obtained from other source.ClassType
represents a class -- either loaded from a
classpath, parsed from a source file, or obtained from other source.this
.
other
cleared.
this
with the abstract
flag clear.
this
with the final
flag clear.
this
with the interface
flag clear.
this
with the native
flag clear.
this
with the private
flag clear.
this
with the protected
flag clear.
this
with the public
flag clear.
this
with the static
flag clear.
this
with the strictfp
flag clear.
this
with the
synchronized
flag clear.
this
with the transient
flag clear.
this
with the volatile
flag clear.
java.lang.Cloneable
CodeCleaner
runs over the AST and performs some trivial
dead code elimination, while flattening blocks wherever possible.CodeInstance
contains the type information for a Java
code-chunk (a method, a constructor, or initializer).CodeWriter
is a pretty-printing engine.o
and width width_
.
CodeWriter
is a pretty-printing engine.o
and width width_
.
w
and
width width_
.
CofferClassDecl
interface.CofferConstructorDecl
interface.CofferConstructorInstance
interface.CofferNodeFactory
interface.CofferMethodDecl
interface.CofferMethodInstance
interface.CofferNodeFactory
interface.Item
s together, when the information
contained in both items is true.
source
.
id
has been completed.
CompoundResolver
resolves names using more than one
context.&&) expressions.
- COND_OR -
Static variable in interface polyglot.ast.Binary
-
- COND_OR -
Static variable in class polyglot.ast.Precedence
- The precedence of conditional OR (
||) expressions.
- condIsConstant() -
Method in interface polyglot.ast.Loop
- Returns true of cond() evaluates to a constant.
- condIsConstant() -
Method in class polyglot.ext.jl.ast.Loop_c
-
- condIsConstantTrue() -
Method in interface polyglot.ast.Loop
- Returns true if cond() is a constant that evaluates to true.
- condIsConstantTrue() -
Method in class polyglot.ext.jl.ast.Loop_c
-
- Conditional - Interface in polyglot.ast
- A
Conditional
is a representation of a Java ternary
expression. - Conditional(Position, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- CONDITIONAL -
Static variable in class polyglot.ast.Precedence
- The precedence of ternary conditional expressions.
- Conditional(Position, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Conditional_c - Class in polyglot.ext.jl.ast
- A
Conditional
is a representation of a Java ternary
expression. - Conditional_c(Position, Expr, Expr, Expr) -
Constructor for class polyglot.ext.jl.ast.Conditional_c
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.CopyPropagator
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.DataFlow
- The confluence operator for many flows.
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.DataFlow
- The confluence operator for many flows.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.DeadCodeEliminator
-
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.ExitChecker
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.InitChecker
- The confluence operator for
Initializer
s and
Constructor
s needs to be a
little special, as we are only concerned with non-exceptional flows in
these cases.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.InitChecker
- The confluence operator is essentially the union of all of the
inItems.
- confluence(List, Term, FlowGraph) -
Method in class polyglot.visit.ReachChecker
-
- confluence(List, List, Term, FlowGraph) -
Method in class polyglot.visit.ReachChecker
-
- confluenceExitTerm(List, List, FlowGraph) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- consequent() -
Method in interface polyglot.ast.Conditional
- Get the expression to evaluate when the condition is true.
- consequent(Expr) -
Method in interface polyglot.ast.Conditional
- Set the expression to evaluate when the condition is true.
- consequent() -
Method in interface polyglot.ast.If
- Get the if's then clause.
- consequent(Stmt) -
Method in interface polyglot.ast.If
- Set the if's then clause.
- consequent -
Variable in class polyglot.ext.jl.ast.Conditional_c
-
- consequent() -
Method in class polyglot.ext.jl.ast.Conditional_c
- Get the consequent of the expression.
- consequent(Expr) -
Method in class polyglot.ext.jl.ast.Conditional_c
- Set the consequent of the expression.
- consequent -
Variable in class polyglot.ext.jl.ast.If_c
-
- consequent() -
Method in class polyglot.ext.jl.ast.If_c
- Get the consequent of the statement.
- consequent(Stmt) -
Method in class polyglot.ext.jl.ast.If_c
- Set the consequent of the statement.
- CONST -
Static variable in class polyglot.ext.coffer.parse.sym
-
- CONST -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONST -
Static variable in class polyglot.ext.jl.qq.sym
-
- CONST -
Static variable in class polyglot.ext.pao.parse.sym
-
- Constant - Class in polyglot.types.reflect
- A Constant is used to represent an item in the constant pool of a class.
- Constant - Class in ppg.parse
- CUP generated class containing symbol constants.
- Constant() -
Constructor for class ppg.parse.Constant
-
- ConstantFolder - Class in polyglot.visit
- Visitor which performs constant folding.
- ConstantFolder(TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstantFolder
-
- constants -
Variable in class polyglot.types.reflect.ClassFile
-
- constants() -
Method in class polyglot.types.reflect.ClassFile
-
- constantValue() -
Method in interface polyglot.ast.Expr
- Returns the constant value of the expression, if any.
- constantValue() -
Method in class polyglot.ext.jl.ast.Binary_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.BooleanLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Cast_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.CharLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.ClassLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Conditional_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Field_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.FloatLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.IntLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Lit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Local_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.NullLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.StringLit_c
-
- constantValue() -
Method in class polyglot.ext.jl.ast.Unary_c
-
- constantValue(Object) -
Method in class polyglot.ext.jl.types.FieldInstance_c
- Non-destructive update of constant value.
- constantValue(Object) -
Method in class polyglot.ext.jl.types.LocalInstance_c
-
- constantValue -
Variable in class polyglot.ext.jl.types.VarInstance_c
-
- constantValue() -
Method in class polyglot.ext.jl.types.VarInstance_c
-
- constantValue(Object) -
Method in interface polyglot.types.FieldInstance
- Set the constant value of the field.
- constantValue(Object) -
Method in interface polyglot.types.LocalInstance
- Set the local's constant value.
- constantValue() -
Method in interface polyglot.types.VarInstance
- The variable's constant value, or null.
- constraint() -
Method in interface polyglot.ext.coffer.ast.ThrowConstraintNode
-
- constraint(ThrowConstraint) -
Method in interface polyglot.ext.coffer.ast.ThrowConstraintNode
-
- constraint() -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- constraint(ThrowConstraint) -
Method in class polyglot.ext.coffer.ast.ThrowConstraintNode_c
-
- constructFullClasspath() -
Method in class polyglot.main.Options
-
- constructItemsFromCondition(Expr, DataFlow.Item, Set, DataFlow.ConditionNavigator) -
Static method in class polyglot.visit.DataFlow
- This utility method is meant to be used by subclasses to help them
produce appropriate
Item
s for the
FlowGraph.EDGE_KEY_TRUE
and
FlowGraph.EDGE_KEY_FALSE
edges from a boolean condition.
- CONSTRUCTOR -
Static variable in exception polyglot.types.NoMemberException
-
- CONSTRUCTOR_CHECK -
Static variable in interface polyglot.frontend.Pass
- ID of the constructor-check pass.
- CONSTRUCTOR_FLAGS -
Variable in class polyglot.ext.jl.types.TypeSystem_c
- All flags allowed for a constructor.
- ConstructorCall - Interface in polyglot.ast
- A
ConstructorCall
represents a direct call to a constructor. - ConstructorCall(Position, ConstructorCall.Kind, List) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorCall(Position, ConstructorCall.Kind, Expr, List) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorCall(Position, ConstructorCall.Kind, List) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- ConstructorCall(Position, ConstructorCall.Kind, Expr, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ConstructorCall.Kind - Class in polyglot.ast
- Constructor call kind: either "super" or "this".
- ConstructorCall.Kind(String) -
Constructor for class polyglot.ast.ConstructorCall.Kind
-
- ConstructorCall_c - Class in polyglot.ext.jl.ast
- A
ConstructorCall_c
represents a direct call to a constructor. - ConstructorCall_c(Position, ConstructorCall.Kind, Expr, List) -
Constructor for class polyglot.ext.jl.ast.ConstructorCall_c
-
- ConstructorCallChecker - Class in polyglot.visit
- Visitor which ensures that constructor calls are not recursive.
- ConstructorCallChecker(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstructorCallChecker
-
- ConstructorDecl - Interface in polyglot.ast
- A
ConstructorDecl
is an immutable representation of a
constructor declaration as part of a class body. - ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in interface polyglot.ast.NodeFactory
-
- ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- ConstructorDecl(Position, Flags, String, List, List, Block) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ConstructorDecl_c - Class in polyglot.ext.jl.ast
- A
ConstructorDecl
is an immutable representation of a
constructor declaration as part of a class body. - ConstructorDecl_c(Position, Flags, String, List, List, Block) -
Constructor for class polyglot.ext.jl.ast.ConstructorDecl_c
-
- constructorInstance() -
Method in interface polyglot.ast.ConstructorCall
- The constructor that is called.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.ConstructorCall
- Set the constructor to call.
- constructorInstance() -
Method in interface polyglot.ast.ConstructorDecl
- The constructor type object.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.ConstructorDecl
- Set the constructor's type object.
- constructorInstance() -
Method in interface polyglot.ast.New
- The constructor invoked by this expression.
- constructorInstance(ConstructorInstance) -
Method in interface polyglot.ast.New
- Set the constructor invoked by this expression.
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- constructorInstance() -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
- Get the constructor we are calling.
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
- Set the constructor we are calling.
- constructorInstance() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Get the constructorInstance of the constructor.
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Set the constructorInstance of the constructor.
- constructorInstance() -
Method in class polyglot.ext.jl.ast.New_c
-
- constructorInstance(ConstructorInstance) -
Method in class polyglot.ext.jl.ast.New_c
-
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- ConstructorInstance - Interface in polyglot.types
- A
ConstructorInstance
contains type information for a
constructor. - constructorInstance(TypeSystem, ClassType, Field[]) -
Method in class polyglot.types.reflect.Method
-
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in interface polyglot.types.TypeSystem
- Create a constructor instance.
- ConstructorInstance_c - Class in polyglot.ext.jl.types
- A
ConstructorInstance
contains type information for a
constructor. - ConstructorInstance_c() -
Constructor for class polyglot.ext.jl.types.ConstructorInstance_c
- Used for deserializing types.
- ConstructorInstance_c(TypeSystem, Position, ClassType, Flags, List, List) -
Constructor for class polyglot.ext.jl.types.ConstructorInstance_c
-
- constructorInvocations -
Variable in class polyglot.visit.ConstructorCallChecker
-
- constructors() -
Method in class polyglot.ext.jl.types.ClassType_c
- Get the class's constructors.
- constructors -
Variable in class polyglot.ext.jl.types.ParsedClassType_c
-
- constructors() -
Method in class polyglot.ext.jl.types.ParsedClassType_c
- Return a mutable list of constructors
- constructors() -
Method in class polyglot.ext.param.types.SubstClassType_c
- Get the class's constructors.
- constructors() -
Method in interface polyglot.types.ClassType
- The class's constructors.
- constructPostCompilerClasspath() -
Method in class polyglot.main.Options
-
- container() -
Method in class polyglot.ext.jl.types.ClassType_c
- Get the container class if a member class.
- container(ClassType) -
Method in class polyglot.ext.jl.types.ConstructorInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.FieldInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.FieldInstance_c
-
- container(ReferenceType) -
Method in class polyglot.ext.jl.types.FieldInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.InitializerInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.InitializerInstance_c
-
- container(ClassType) -
Method in class polyglot.ext.jl.types.InitializerInstance_c
-
- container(ReferenceType) -
Method in class polyglot.ext.jl.types.MethodInstance_c
-
- container -
Variable in class polyglot.ext.jl.types.ProcedureInstance_c
-
- container() -
Method in class polyglot.ext.jl.types.ProcedureInstance_c
-
- container(ClassType) -
Method in interface polyglot.types.ConstructorInstance
- Set the containing class of the constructor.
- container(ReferenceType) -
Method in interface polyglot.types.FieldInstance
- Set the containing class of the field.
- container(ClassType) -
Method in interface polyglot.types.InitializerInstance
- Set the initializer's containing class.
- container() -
Method in interface polyglot.types.MemberInstance
- Return the member's containing type.
- container(ReferenceType) -
Method in interface polyglot.types.MethodInstance
- Set the method's containing type.
- contains(Key) -
Method in interface polyglot.ext.coffer.types.KeySet
-
- contains(Key) -
Method in class polyglot.ext.coffer.types.KeySet_c
-
- contains(Flags) -
Method in class polyglot.types.Flags
- Check if all flags in
other
are set.
- contains(Object) -
Method in class polyglot.util.NestedMap.KeySet
-
- contains(Object) -
Method in class polyglot.util.SubtypeSet
- Check whether object
o
is in the set.
- contains(Object) -
Method in class polyglot.util.TypedList
-
- containsAll(KeySet) -
Method in interface polyglot.ext.coffer.types.KeySet
-
- containsAll(KeySet) -
Method in class polyglot.ext.coffer.types.KeySet_c
-
- containsAll(Collection) -
Method in class polyglot.util.SubtypeSet
- Checks whether all elements of the collection are in the set
- containsAll(Collection) -
Method in class polyglot.util.TypedList
-
- containsKey(Object) -
Method in class polyglot.util.NestedMap
-
- containsKey(Object) -
Method in class polyglot.util.NilMap
-
- containsSubtype(Type) -
Method in class polyglot.util.SubtypeSet
- Check whether the type
t
or a subtype is in the set.
- containsValue(Object) -
Method in class polyglot.util.NilMap
-
- context -
Variable in class polyglot.frontend.InnerJob
- The context in which this Job was spawned.
- context() -
Method in class polyglot.frontend.InnerJob
-
- context() -
Method in class polyglot.frontend.Job
- By default, a
Job
does not have a context associated
with it.
- context -
Static variable in class polyglot.main.Report
-
- Context - Interface in polyglot.types
- A context represents a stack of scopes used for looking up types, methods,
and variables.
- context -
Variable in class polyglot.visit.ContextVisitor
- The current context of this visitor.
- context() -
Method in class polyglot.visit.ContextVisitor
- Returns the context for this visitor.
- context(Context) -
Method in class polyglot.visit.ContextVisitor
- Returns a new ContextVisitor that is a copy of the current visitor,
except with an updated context.
- context -
Variable in class polyglot.visit.Translator
-
- context(Context) -
Method in class polyglot.visit.Translator
- Create a new
Translator
identical to this
but
with new context c
- context() -
Method in class polyglot.visit.Translator
- Get the current context in which we are translating.
- Context_c - Class in polyglot.ext.jl.types
- This class maintains a context for looking up named variables, types,
and methods.
- Context_c(TypeSystem) -
Constructor for class polyglot.ext.jl.types.Context_c
-
- Context_c.Kind - Class in polyglot.ext.jl.types
-
- Context_c.Kind(String) -
Constructor for class polyglot.ext.jl.types.Context_c.Kind
-
- ContextVisitor - Class in polyglot.visit
- A visitor which maintains a context throughout the visitor's pass.
- ContextVisitor(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ContextVisitor
-
- CONTINUE -
Static variable in interface polyglot.ast.Branch
-
- Continue(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Continue(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- CONTINUE -
Static variable in class polyglot.ext.coffer.parse.sym
-
- Continue(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Continue(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- CONTINUE -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONTINUE -
Static variable in class polyglot.ext.jl.qq.sym
-
- CONTINUE -
Static variable in class polyglot.ext.pao.parse.sym
-
- continueTarget() -
Method in interface polyglot.ast.Loop
- Target of a continue statement in the loop body.
- continueTarget() -
Method in class polyglot.ext.jl.ast.Do_c
-
- continueTarget() -
Method in class polyglot.ext.jl.ast.For_c
-
- continueTarget() -
Method in class polyglot.ext.jl.ast.While_c
-
- copy() -
Method in class polyglot.ext.jl.ast.Ext_c
- Copy the extension.
- copy() -
Method in class polyglot.ext.jl.ast.Node_c
-
- copy() -
Method in class polyglot.ext.jl.types.Context_c
-
- copy() -
Method in class polyglot.ext.jl.types.TypeObject_c
-
- Copy - Interface in polyglot.util
- Interface used to copy objects.
- copy() -
Method in interface polyglot.util.Copy
-
- copy(List, Class, boolean) -
Static method in class polyglot.util.TypedList
- Requires:
not null, and every element of may be
cast to class .
- copy() -
Method in class polyglot.util.TypedList
- Copies this list.
- copy() -
Method in class polyglot.visit.CFGBuilder
- Copy the CFGBuilder.
- copy() -
Method in class polyglot.visit.HaltingVisitor
-
- copy() -
Method in class polyglot.visit.Translator
- Copy the translator.
- copyAndCheck(List, Class, boolean) -
Static method in class polyglot.util.TypedList
- Creates a new TypedList, containing all the elements of
,
which restricts all members to belong to class .
- CopyPropagator - Class in polyglot.visit
- Visitor which performs copy propagation.
- CopyPropagator(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.CopyPropagator
-
- CopyPropagator.DataFlowItem - Class in polyglot.visit
-
- CopyPropagator.DataFlowItem() -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem
- Constructor for creating an empty set.
- CopyPropagator.DataFlowItem(CopyPropagator.DataFlowItem) -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem
- Deep copy constructor.
- CopyPropagator.DataFlowItem.CopyInfo - Class in polyglot.visit
-
- CopyPropagator.DataFlowItem.CopyInfo(LocalInstance) -
Constructor for class polyglot.visit.CopyPropagator.DataFlowItem.CopyInfo
-
- count -
Variable in class polyglot.visit.InitChecker.InitCount
-
- cppBackend() -
Method in class polyglot.main.Options
- HACK: This method really, for cleanliness, should not exist.
- cr -
Variable in class polyglot.types.PackageContextResolver
-
- createAttribute(DataInputStream, String, int, int) -
Method in class polyglot.types.reflect.ClassFile
-
- createCFGBuilder(TypeSystem, FlowGraph) -
Method in class polyglot.visit.DataFlow
- Construct a CFGBuilder.
- createClassFile(File, byte[]) -
Method in class polyglot.frontend.AbstractExtensionInfo
-
- createClassFile(File, byte[]) -
Method in interface polyglot.frontend.ExtensionInfo
- Create class file
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- createClassType() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(Source) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
- Returns a new instance of
PaoParsedClassType_c
- createClassType(LazyClassInitializer) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType() -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType(LazyClassInitializer, Source) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createClassType(Source) -
Method in interface polyglot.types.TypeSystem
- Create a new empty class.
- createContext() -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- createContext() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createContext() -
Method in interface polyglot.types.TypeSystem
- Create a new context object for looking up variables, types, etc.
- createDefUseFinder(Set, Set) -
Method in class polyglot.visit.DeadCodeEliminator
-
- createField(DataInputStream) -
Method in class polyglot.types.reflect.ClassFile
-
- createFlag(String, Flags) -
Static method in class polyglot.types.Flags
- Return a new Flags object with a new name.
- createFlag(String, String, String, Flags) -
Static method in class polyglot.types.Flags
- Return a new Flags object with a new name.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.CopyPropagator
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.DataFlow
- Create an initial Item for the term node.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.DeadCodeEliminator
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.ExitChecker
-
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.InitChecker
- The initial item to be given to the entry point of the dataflow contains
the init counts for the final fields.
- createInitialItem(FlowGraph, Term) -
Method in class polyglot.visit.ReachChecker
-
- createJob(Node, Context, Job, Pass.ID, Pass.ID) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create a new non-
SourceJob
Job
, for the
given AST.
- createMethod(DataInputStream) -
Method in class polyglot.types.reflect.ClassFile
-
- createNewFlag(String, Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createNewFlag(String, Flags) -
Method in interface polyglot.types.TypeSystem
- Create a new unique Flags object.
- createNodeFactory() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.jl.ExtensionInfo
- Create the node factory for this extension.
- createNodeFactory() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create the node factory for this extension.
- createNull() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createOptions() -
Method in class polyglot.frontend.AbstractExtensionInfo
-
- createPackage(Package, String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPackage(String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPackage(String) -
Method in interface polyglot.types.TypeSystem
- Return a package by name.
- createPackage(Package, String) -
Method in interface polyglot.types.TypeSystem
- Return a package by name with the given outer package.
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
- Returns a new instance of
PaoPrimitiveType_c
- createSourceJob(Source, Node) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create a new
SourceJob
for the given source and AST.
- createTypeSystem() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.jl.ExtensionInfo
- Create the type system for this extension.
- createTypeSystem() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create the type system for this extension.
- cScope(String) -
Static method in class polyglot.visit.Translator
- Turns a package or class name from Java "x.y.z" format
into a C-style scope ("x::y::z")
- CupParser - Class in polyglot.frontend
- A parser implemented with a Cup generated-parser.
- CupParser(lr_parser, Source, ErrorQueue) -
Constructor for class polyglot.frontend.CupParser
-
- CUPSpec - Class in ppg.spec
-
- CUPSpec(String, Vector, Vector, Vector, Vector, String, Vector) -
Constructor for class ppg.spec.CUPSpec
-
- currCBI -
Variable in class polyglot.visit.InitChecker
-
- current_dir() -
Static method in class polyglot.frontend.SourceLoader
- The current user directory.
- currentClass() -
Method in class polyglot.ext.jl.types.Context_c
- Gets current class
- currentClass() -
Method in interface polyglot.types.Context
- Return the innermost class in scope.
- currentClass() -
Method in class polyglot.visit.TypeBuilder
-
- currentClassScope() -
Method in class polyglot.ext.jl.types.Context_c
- Gets current class
- currentClassScope() -
Method in interface polyglot.types.Context
- Return the innermost class in scope.
- currentCode() -
Method in class polyglot.ext.jl.types.Context_c
- Gets the current method
- currentCode() -
Method in interface polyglot.types.Context
- Return the innermost method or constructor in scope.
- currentFlowGraph() -
Method in class polyglot.visit.DataFlow
- Return the
FlowGraph
at the top of the stack.
- currentJob -
Variable in class polyglot.frontend.AbstractExtensionInfo
- The currently running job, or null if no job is running.
- currentPackage() -
Method in class polyglot.visit.TypeBuilder
-
- currentParents -
Variable in class polyglot.visit.NodeScrambler
-
- cw -
Variable in class polyglot.visit.NodeScrambler
-
- CyclicDependencyException - Exception in polyglot.frontend
- Thrown during when the compiler tries to run a pass that is
already running.
- CyclicDependencyException() -
Constructor for exception polyglot.frontend.CyclicDependencyException
-
- CyclicDependencyException(String) -
Constructor for exception polyglot.frontend.CyclicDependencyException
-
CodeDecl
provided, and call
dataflow(FlowGraph)
.
Expr
provided, and call
dataflow(FlowGraph)
.
Item
s, one being the
Item
that is used when an expression is true, the
other being the one that is used when an expression is false.Item
contains the data which flows during the dataflow
analysis.CodeDecl
, or on leaving a CodeDecl
.
AmbAssign
AST node.
AmbExpr
AST node.
AmbPrefix
AST node.
AmbQualifierNode
AST node.
AmbReceiver
AST node.
AmbTypeNode
AST node.
ArrayAccessAssign
AST node.
ArrayAccess
AST node.
ArrayInit
AST node.
ArrayTypeNode
AST node.
Assert
AST node.
Assign
AST node.
Block
AST node.
BooleanLit
AST node.
Branch
AST node.
Call
AST node.
CanonicalTypeNode
AST node.
Case
AST node.
Cast
AST node.
Catch
AST node.
CharLit
AST node.
ClassBody
AST node.
ClassDecl
AST node.
ClassLit
AST node.
ClassMember
AST node.
CodeDecl
AST node.
Conditional
AST node.
ConstructorCall
AST node.
ConstructorDecl
AST node.
Do
AST node.
Empty
AST node.
Eval
AST node.
Expr
AST node.
DelFactory
constructs delegates.FieldAssign
AST node.
FieldDecl
AST node.
Field
AST node.
FloatLit
AST node.
For
AST node.
Formal
AST node.
If
AST node.
Import
AST node.
Initializer
AST node.
Instanceof
AST node.
IntLit
AST node.
Labeled
AST node.
Lit
AST node.
LocalAssign
AST node.
LocalClassDecl
AST node.
LocalDecl
AST node.
Local
AST node.
Loop
AST node.
MethodDecl
AST node.
NewArray
AST node.
New
AST node.
Node
AST node.
NullLit
AST node.
NumLit
AST node.
PackageNode
AST node.
ProcedureDecl
AST node.
Return
AST node.
SourceCollection
AST node.
SourceFile
AST node.
Special
AST node.
Stmt
AST node.
StringLit
AST node.
SwitchBlock
AST node.
SwitchElement
AST node.
Switch
AST node.
Synchronized
AST node.
Term
AST node.
Throw
AST node.
Try
AST node.
TypeNode
AST node.
Unary
AST node.
While
AST node.
Source
s that this SourceJob depends upon.
Source
s that depend on this job.
ancestor
.
ancestor
.
ancestor
.
true
if ancestor
is the
Object
type, as primitives are considered a
subtype of Object
.
ancestor
.
do
statement.do
statement.double
p
to q
.
p
to q
.
Empty
is the class for a empty statement (i.e., ;
).Empty
is the class for a empty statement (;)
.EmptyPass
does nothing.begin
and end
will
be performed.
begin
.
begin
.
Pass pass
on SourceJob job
make sure that all appropriate scheduling invariants are satisfied,
to ensure that all passes of other jobs that job
depends
on will have already been done.
n
.
n
.
n
.
ascribe()
.
enter()
method; all
sub-classes should over-ride this method instead of
enter()
if there is any chance of exceptions being
generated.
n
.
enter()
should its call to enterCall()
throw a
SemanticException
.
child
.
child
.
child
.
SwitchBlock
differs from a normal block in that
declarations made in the context of the switch block are in the scope
following the switch block.
parent
), and the Node that is being
entered (n
).
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
o == p
when o
or
p
could be a boxed primitive.
a
and b
are
pointer equal, or if iterators over both return the same
sequence of pointer equal elements.
t
.
java.lang.Error
error
Symbol index.
error
Symbol index.
error
Symbol index.
error
Symbol index.
error
Symbol index.
ErrorQueue
handles outputing error messages.ErrorQueue
for the current Job.
Eval
is a statement that evaluates an expression then
discards the result.Eval
is a wrapper for an expression in the context of
a statement.java.lang.Exception
Exceptions
from scratch.
Expr
represents any Java expression.Expr
represents any Java expression.e
into a type, yielding a TypeNode
.
Ext
is the super type of all node extension objects.Ext
is the super type of all node extension objects.Ext
object for a AmbAssign
AST node.
Ext
object for a AmbExpr
AST node.
Ext
object for a AmbPrefix
AST node.
Ext
object for a AmbQualifierNode
AST node.
Ext
object for a AmbReceiver
AST node.
Ext
object for a AmbTypeNode
AST node.
Ext
object for a ArrayAccessAssign
AST node.
Ext
object for a ArrayAccess
AST node.
Ext
object for a ArrayInit
AST node.
Ext
object for a ArrayTypeNode
AST node.
Ext
object for a Assert
AST node.
Ext
object for a Assign
AST node.
Ext
object for a Binary
AST node.
Ext
object for a Block
AST node.
Ext
object for a BooleanLit
AST node.
Ext
object for a Branch
AST node.
Ext
object for a Call
AST node.
Ext
object for a CanonicalTypeNode
AST node.
Ext
object for a Case
AST node.
Ext
object for a Cast
AST node.
Ext
object for a Catch
AST node.
Ext
object for a CharLit
AST node.
Ext
object for a ClassBody
AST node.
Ext
object for a ClassDecl
AST node.
Ext
object for a ClassLit
AST node.
Ext
object for a ClassMember
AST node.
Ext
object for a CodeDecl
AST node.
Ext
object for a Conditional
AST node.
Ext
object for a ConstructorCall
AST node.
Ext
object for a ConstructorDecl
AST node.
Ext
object for a Do
AST node.
Ext
object for a Empty
AST node.
ExtensionInfo
for the Java language.ExtensionInfo
is the main interface for defining language
extensions.Ext
object for a Eval
AST node.
Ext
object for a Expr
AST node.
ExtFactory
constructs extensions.Ext
object for a FieldAssign
AST node.
Ext
object for a FieldDecl
AST node.
Ext
object for a Field
AST node.
Ext
object for a FloatLit
AST node.
Ext
object for a For
AST node.
Ext
object for a Formal
AST node.
Ext
object for a If
AST node.
Ext
object for a Import
AST node.
Ext
object for a Initializer
AST node.
Ext
object for a Instanceof
AST node.
Ext
object for a IntLit
AST node.
Ext
object for a Labeled
AST node.
Ext
object for a Lit
AST node.
Ext
object for a LocalAssign
AST node.
Ext
object for a LocalClassDecl
AST node.
Ext
object for a LocalDecl
AST node.
Ext
object for a Local
AST node.
Ext
object for a Loop
AST node.
Ext
object for a MethodDecl
AST node.
Ext
object for a NewArray
AST node.
Ext
object for a New
AST node.
Ext
object for a Node
AST node.
Ext
object for a NullLit
AST node.
Ext
object for a NumLit
AST node.
Ext
object for a PackageNode
AST node.
Ext
object for a ProcedureDecl
AST node.
Ext
object for a Return
AST node.
Ext
object for a SourceCollection
AST node.
Ext
object for a SourceFile
AST node.
Ext
object for a Special
AST node.
Ext
object for a Stmt
AST node.
Ext
object for a StringLit
AST node.
Ext
object for a SwitchBlock
AST node.
Ext
object for a SwitchElement
AST node.
Ext
object for a Switch
AST node.
Ext
object for a Synchronized
AST node.
Ext
object for a Term
AST node.
Ext
object for a Throw
AST node.
Ext
object for a Try
AST node.
Ext
object for a TypeNode
AST node.
Ext
object for a Unary
AST node.
Ext
object for a While
AST node.
Field
is an immutable representation of a Java field
access.Field
is an immutable representation of a Java field
access.FieldAssign
represents a Java assignment expression to
a field.FieldAssign_c
represents a Java assignment expression to
a field.FieldDecl
is an immutable representation of the declaration
of a field of a class.FieldDecl
is an immutable representation of the declaration
of a field of a class.FieldInstance
contains type information for a field.FieldInstance
contains type information for a field.name
, or null.
Source
represents a source file.Item
s to contain only Item
s
that are associated with the given EdgeKey
.
Item
s to contain only Item
s
that are associated with exception flows, whose exception is a subclass
of excType
.
Item
s to contain only Item
s
that are not associated with error flows, that is, only
Item
s whose associated EdgeKey
s are not
FlowGraph.ExceptionEdgeKey
s with a type that is a subclass
of TypeSystem.Error()
.
Item
s to contain only Item
s
that are not associated with exception flows, that is, only
Item
s whose associated EdgeKey
s are not
FlowGraph.ExceptionEdgeKey
s.
this
with the final
flag set.
name
defined
in type container
or a supertype, and visible from
currClass
.
name
defined
in type container
or a supertype.
name
defined
in type container
or a supertype.
cd
.
initializer
.
Job
that pass p
has finished.
Flags
is an immutable set of class, method, or field modifiers.float
FloatLit
represents a literal in java of type
float
or double
.FloatLit
represents a literal in java of type
float
or double
.Item
s as appropriate for the
Term n
and the input Item in
.
Item
s as appropriate for the
Term n
and the input Item
s.
CollectionUtil
).Peer
is an occurance of an AST node in a flow graph.FlowGraphSource
.
confluence
on each of these three collections
as neccessary, and passes the results to
flow(Item, Item, Item, FlowGraph, Term, Set).
flush
, but passing format=false
causes output to be generated in the fastest way possible, with
all breaks broken.
for
statement.for
statement.ForInit
represents a statement that can be used as a
initializer in a "for" statement.Formal
represents a formal parameter to a method
or constructor or to a catch block.Formal
represents a formal parameter for a procedure
or catch block.this
.
ForUpdate
represents a statement that can be used as an
iterator in a "for" statement.Source
that this class type
was loaded from.
begin
and
end
inclusive.
Job
should go
through.
id
.
t
.
GlobalBarrierPass
is a special pass that ensures that
before a job J
can run a GlobalBarrierPass
,
every currently active job must have completed all passes up to the
same GlobalBarrierPass
.BoolItem
for an expression that is not
a boolean operator, such as &&, &, ||, | or !.
encl
.
inner
has an
enclosing instance of class encl
.
encl
.
hasEnclosingInstance
.
p
has exactly the formal arguments
formalTypes
.
t
has the method mi
.
t
has a method with name name
either defined in t
or inherited into it.
Translator
identical to this
,
except: a) wrapped inside a HeaderTranslator object, and b) with
a new context c
if
statement.if
statement.mi
implements, in no
specified order.
Import
is an immutable representation of a Java
import
statement.Import
is an immutable representation of a Java
import
statement.Importable
is a type object that can be imported by another
type object.ImportTable
is a type of ClassResolver
that
corresponds to a particular source file.passes
field and the
passMap
field.
ct
's constructors.
ct
's constructors.
ct
's fields.
ct
's fields.
FlowGraph
to be used in the dataflow
analysis.
Initializer
is an immutable representation of an
initializer block in a Java class (which appears outside of any
method).Initializer
is an immutable representation of an
initializer block in a Java class (which appears outside of any
method).InitializerInstance
contains the type information for a
static or anonymous initializer.InitializerInstance
contains the type information for a
static or anonymous initializer.ct
's interfaces.
ct
's interfaces.
ct
's member classes.
ct
's member classes.
ct
's methods.
ct
's methods.
InnerJob
encapsulates work done by the compiler for a
nested class.Instanceof
is an immutable representation of
the use of the instanceof
operator.instanceof
expressions.
Instanceof
is an immutable representation of
the use of the instanceof
operator.this
.
int
this
with the interface
flag set.
other
are set.
IntLit
represents a literal in Java of an integer
type.IntLit
represents a literal in Java of an integer
type.this
has the abstract
flag set.
type
is a canonical
(fully qualified) type.
toType
.
toType
.
toType
.
true
if normal casting rules permit this cast, or
if this ClassType
is Object
and the
toType
is a primitive.
true
if the normal rules for casts
hold, or if casting a primitive to Object
, as primitives
are considered a subtype of Object
.
toType
.
outer
.
isEnclosed
.
this
has the final
flag set.
toType
.
toType
.
toType
.
true
if the normal rules for implicit casts
hold, or if casting a primitive to Object
, as primitives
are considered a subtype of Object
.
toType
.
this
has the interface
flag set.
this
has the native
flag set.
this
has the no access flags
(public
, private
, protected
) set.
this
has the private
flag set.
this
has the protected
flag set.
this
has the public
flag set.
mi
.
m1
is the same method as m2
.
mi
.
this
has the static
flag set.
this
has the strictfp
flag set.
ancestor
.
ancestor
.
ancestor
.
ancestor
.
this
has the synchronized
flag
set.
type
may be thrown.
this
has the transient
flag set.
n
in package pkgName
is visible from within
package pkg
.
this
has the volatile
flag set.
Map
, to return from the
flow
methods.
Map
, to return from the
flow
methods.
JL
contains all methods implemented by an AST node.JL
object we dispatch to, by default, the node
itself, but possibly another delegate.
JL_c
is the super class of JL node delegates objects.Job
encapsulates work done by the compiler.Job
that this Visitor is part of.
JobExt
encapsulates work done by the compiler on behalf of
one source file.Source
s to SourceJob
s or to
the COMPLETED_JOB
object if the SourceJob previously existed
but has now finished.
Key
.Key
.KeySet
.BarrierPass
that this job completed;
return null
if no BarrierPass
es have
yet been completed
IdentityKey
s.
n
have been visited.
n
have been visited.
n
have been visited.
PaoExt.rewrite(PaoTypeSystem, NodeFactory)
method to rewrite the explicit casts inserted by the
ascribe
method into correct boxing and unboxing code.
ascribe() with the expected type and expression
as appropriate.
- leaveCall(Node, Node, NodeVisitor) -
Method in class polyglot.visit.CopyPropagator
-
- leaveCall(Node) -
Method in class polyglot.visit.DataFlow
- Overridden superclass method, to pop from the stack of
FlowGraph
s if necessary.
- leaveCall(Node, Node, NodeVisitor) -
Method in class polyglot.visit.DeadCodeEliminator
-
- leaveCall(Node, Node, NodeVisitor) -
Method in class polyglot.visit.ErrorHandlingVisitor
- Contains all of the functionality that can be done in the
leave
method, but allows SemanticExceptions
to be
thrown.
- leaveCall(Node) -
Method in class polyglot.visit.ErrorHandlingVisitor
-
- leaveCall(Node, Node, NodeVisitor) -
Method in class polyglot.visit.ExceptionChecker
- Here, we pop the stack frame that we pushed in enter and agregate the
exceptions.
- leaveCall(Node) -
Method in class polyglot.visit.InitChecker
- Postpone the checking of constructors until the end of the class
declaration is encountered, to ensure that all initializers are
processed first.
- leaveCall(Node) -
Method in class polyglot.visit.ReachChecker
-
- leaveCall(Node, Node, NodeVisitor) -
Method in class polyglot.visit.TypeChecker
-
- left() -
Method in interface polyglot.ast.Assign
- Left child (target) of the assignment.
- left(Expr) -
Method in interface polyglot.ast.Assign
- Set the left child (target) of the assignment.
- left() -
Method in interface polyglot.ast.Binary
- Left child of the binary.
- left(Expr) -
Method in interface polyglot.ast.Binary
- Set the left child of the binary.
- left(Expr) -
Method in class polyglot.ext.jl.ast.ArrayAccessAssign_c
-
- left -
Variable in class polyglot.ext.jl.ast.Assign_c
-
- left() -
Method in class polyglot.ext.jl.ast.Assign_c
- Get the left operand of the expression.
- left(Expr) -
Method in class polyglot.ext.jl.ast.Assign_c
- Set the left operand of the expression.
- left -
Variable in class polyglot.ext.jl.ast.Binary_c
-
- left() -
Method in class polyglot.ext.jl.ast.Binary_c
- Get the left operand of the expression.
- left(Expr) -
Method in class polyglot.ext.jl.ast.Binary_c
- Set the left operand of the expression.
- left(Expr) -
Method in class polyglot.ext.jl.ast.FieldAssign_c
-
- left(Expr) -
Method in class polyglot.ext.jl.ast.LocalAssign_c
-
- LEFT -
Static variable in class ppg.atoms.Precedence
-
- LEFT -
Static variable in class ppg.parse.Constant
-
- length -
Variable in class polyglot.types.reflect.Attribute
-
- lengthField() -
Method in class polyglot.ext.jl.types.ArrayType_c
- Get the length field.
- lengthField() -
Method in interface polyglot.types.ArrayType
- The array's length field.
- level(String) -
Static method in class polyglot.main.Report
-
- lexer(String, Position, List) -
Method in class polyglot.ext.jl.qq.QQ
- Create a lexer that performs the substitutions in
subst
.
- Lexer - Interface in polyglot.lex
- The interface "Lexer" describes lexers produced by JFlex for
Polyglot.
- lexer -
Variable in class polyglot.parse.BaseParser
-
- Lexer - Class in ppg.lex
- This class is a scanner generated by
JFlex 1.3.5
on 4/30/06 11:48 PM from the specification file
file:/Users/nystrom/xx/polyglot/src/ppg/lex/ppg.flex
- Lexer(InputStream, String) -
Constructor for class ppg.lex.Lexer
-
- Lexer(Reader) -
Constructor for class ppg.lex.Lexer
- Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- Lexer(InputStream) -
Constructor for class ppg.lex.Lexer
- Creates a new scanner.
- Lexer_c - Class in polyglot.ext.coffer.parse
- This class is a scanner generated by
JFlex 1.3.5
on 5/1/06 12:14 AM from the specification file
file:/Users/nystrom/xx/polyglot/src/polyglot/ext/coffer/parse/coffer.flex
- Lexer_c(InputStream, String, ErrorQueue) -
Constructor for class polyglot.ext.coffer.parse.Lexer_c
-
- Lexer_c(Reader, String, ErrorQueue) -
Constructor for class polyglot.ext.coffer.parse.Lexer_c
-
- Lexer_c(Reader) -
Constructor for class polyglot.ext.coffer.parse.Lexer_c
- Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- Lexer_c(InputStream) -
Constructor for class polyglot.ext.coffer.parse.Lexer_c
- Creates a new scanner.
- Lexer_c - Class in polyglot.ext.jl.parse
- This class is a scanner generated by
JFlex 1.3.5
on 4/30/06 11:49 PM from the specification file
file:/Users/nystrom/xx/polyglot/src/polyglot/ext/jl/parse/java.flex
- Lexer_c(InputStream, String, ErrorQueue) -
Constructor for class polyglot.ext.jl.parse.Lexer_c
-
- Lexer_c(Reader, String, ErrorQueue) -
Constructor for class polyglot.ext.jl.parse.Lexer_c
-
- Lexer_c(Reader) -
Constructor for class polyglot.ext.jl.parse.Lexer_c
- Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- Lexer_c(InputStream) -
Constructor for class polyglot.ext.jl.parse.Lexer_c
- Creates a new scanner.
- Lexer_c - Class in polyglot.ext.jl.qq
- This class is a scanner generated by
JFlex 1.3.5
on 5/1/06 12:19 AM from the specification file
file:/Users/nystrom/xx/polyglot/dist/src/polyglot/ext/jl/qq/qq.flex
- Lexer_c(String, Position, List) -
Constructor for class polyglot.ext.jl.qq.Lexer_c
-
- Lexer_c(Reader) -
Constructor for class polyglot.ext.jl.qq.Lexer_c
- Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- Lexer_c(InputStream) -
Constructor for class polyglot.ext.jl.qq.Lexer_c
- Creates a new scanner.
- Lexer_c - Class in polyglot.ext.pao.parse
- This class is a scanner generated by
JFlex 1.3.5
on 5/1/06 12:14 AM from the specification file
file:/Users/nystrom/xx/polyglot/src/polyglot/ext/pao/parse/pao.flex
- Lexer_c(InputStream, String, ErrorQueue) -
Constructor for class polyglot.ext.pao.parse.Lexer_c
-
- Lexer_c(Reader, String, ErrorQueue) -
Constructor for class polyglot.ext.pao.parse.Lexer_c
-
- Lexer_c(Reader) -
Constructor for class polyglot.ext.pao.parse.Lexer_c
- Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- Lexer_c(InputStream) -
Constructor for class polyglot.ext.pao.parse.Lexer_c
- Creates a new scanner.
- LEXICAL_ERROR -
Static variable in class polyglot.util.ErrorInfo
-
- LexicalError - Exception in ppg.lex
-
- LexicalError(String, int, String) -
Constructor for exception ppg.lex.LexicalError
-
- LexicalError - Exception in ppg.test.multi
-
- LexicalError(String, int, String) -
Constructor for exception ppg.test.multi.LexicalError
-
- LexTest - Class in ppg.lex
-
- LexTest() -
Constructor for class ppg.lex.LexTest
-
- li -
Variable in class polyglot.ext.jl.ast.Formal_c
-
- li -
Variable in class polyglot.ext.jl.ast.Local_c
-
- li -
Variable in class polyglot.ext.jl.ast.LocalDecl_c
-
- limit -
Variable in class polyglot.util.AbstractErrorQueue
-
- line() -
Method in class polyglot.util.Position
-
- lineNumber() -
Method in exception ppg.lex.LexicalError
-
- lineNumber() -
Method in class ppg.lex.Token
-
- lineNumber() -
Method in exception ppg.test.multi.LexicalError
-
- lineNumber() -
Method in class ppg.test.multi.Token
-
- list() -
Method in class polyglot.ext.jl.qq.QQListToken
-
- list(Object) -
Static method in class polyglot.util.CollectionUtil
- Return a singleton list containing
o
.
- list(Object, Object) -
Static method in class polyglot.util.CollectionUtil
- Return a list containing
o1
and o2
.
- list(Object, Object, Object) -
Static method in class polyglot.util.CollectionUtil
- Return a list containing
o1
, ..., o3
.
- list(Object, Object, Object, Object) -
Static method in class polyglot.util.CollectionUtil
- Return a list containing
o1
, ..., o4
.
- list -
Variable in class polyglot.visit.FlowGraph.ListKey
-
- listEntry(List, Term) -
Static method in class polyglot.ext.jl.ast.Term_c
- Utility function to get the first entry of a list, or else alt.
- listIsCanonical(List) -
Method in class polyglot.ext.jl.types.ProcedureInstance_c
-
- listIterator() -
Method in class polyglot.util.TypedList
-
- listIterator(int) -
Method in class polyglot.util.TypedList
-
- listToString(List) -
Static method in class polyglot.ext.jl.types.TypeSystem_c
-
- Lit - Interface in polyglot.ast
Lit
represents any Java literal.- Lit_c - Class in polyglot.ext.jl.ast
Lit
represents any Java literal.- Lit_c(Position) -
Constructor for class polyglot.ext.jl.ast.Lit_c
-
- LITERAL -
Static variable in class polyglot.ast.Precedence
- The precedence of a literal
- Literal - Class in polyglot.lex
- A token class for literals.
- Literal(Position, int) -
Constructor for class polyglot.lex.Literal
-
- load(String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- loadClass(File, String) -
Method in class polyglot.types.reflect.ClassFileLoader
- Try to find the class
name
in the directory or jar or zip
file dir
.
- loadClass(String) -
Method in class polyglot.types.reflect.ClassPathLoader
- Load a class from the classpath.
- LoadedClassResolver - Class in polyglot.types
- Loads class information from class files, or serialized class infomation
from within class files.
- LoadedClassResolver(TypeSystem, String, ClassFileLoader, Version, boolean) -
Constructor for class polyglot.types.LoadedClassResolver
- Create a loaded class resolver.
- loadedResolver -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- loadedResolver() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- loadedResolver() -
Method in interface polyglot.types.TypeSystem
- Return the type system's loaded resolver.
- loadedSources -
Variable in class polyglot.frontend.SourceLoader
- Set of sources already loaded.
- loader() -
Method in class polyglot.frontend.Compiler
- Get the compiler's class file loader.
- loader -
Static variable in class polyglot.main.Report
-
- loadFile(String) -
Method in class polyglot.types.LoadedClassResolver
- Load a class file for class
name
.
- Local - Interface in polyglot.ast
- A local variable expression.
- Local(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- Local(Position, String) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- LOCAL -
Static variable in interface polyglot.types.ClassType
-
- Local_c - Class in polyglot.ext.jl.ast
- A local variable expression.
- Local_c(Position, String) -
Constructor for class polyglot.ext.jl.ast.Local_c
-
- LOCAL_CLASS_FLAGS -
Variable in class polyglot.ext.jl.types.TypeSystem_c
- All flags allowed for a local class.
- LOCAL_FLAGS -
Variable in class polyglot.ext.jl.types.TypeSystem_c
- All flags allowed for a local variable.
- LocalAssign - Interface in polyglot.ast
- A
LocalAssign
represents a Java assignment expression
to an array element. - LocalAssign(Position, Local, Assign.Operator, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- LocalAssign(Position, Local, Assign.Operator, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- LocalAssign_c - Class in polyglot.ext.jl.ast
- A
LocalAssign_c
represents a Java assignment expression
to a local variable. - LocalAssign_c(Position, Local, Assign.Operator, Expr) -
Constructor for class polyglot.ext.jl.ast.LocalAssign_c
-
- LocalClassDecl - Interface in polyglot.ast
- A local class declaration statement.
- LocalClassDecl(Position, ClassDecl) -
Method in interface polyglot.ast.NodeFactory
-
- LocalClassDecl(Position, ClassDecl) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- LocalClassDecl_c - Class in polyglot.ext.jl.ast
- A local class declaration statement.
- LocalClassDecl_c(Position, ClassDecl) -
Constructor for class polyglot.ext.jl.ast.LocalClassDecl_c
-
- LocalDecl - Interface in polyglot.ast
- A local variable declaration statement: a type, a name and an optional
initializer.
- LocalDecl(Position, Flags, TypeNode, String) -
Method in interface polyglot.ast.NodeFactory
-
- LocalDecl(Position, Flags, TypeNode, String, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- LocalDecl(Position, Flags, TypeNode, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- LocalDecl(Position, Flags, TypeNode, String, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- LocalDecl_c - Class in polyglot.ext.jl.ast
- A
LocalDecl
is an immutable representation of the declaration
of a local variable. - LocalDecl_c(Position, Flags, TypeNode, String, Expr) -
Constructor for class polyglot.ext.jl.ast.LocalDecl_c
-
- LocalDeclExt_c - Class in polyglot.ext.coffer.extension
-
- LocalDeclExt_c() -
Constructor for class polyglot.ext.coffer.extension.LocalDeclExt_c
-
- LocalExt_c - Class in polyglot.ext.coffer.extension
-
- LocalExt_c() -
Constructor for class polyglot.ext.coffer.extension.LocalExt_c
-
- localInstance(LocalInstance) -
Method in interface polyglot.ast.Formal
- Set the type object for the local we are declaring.
- localInstance() -
Method in interface polyglot.ast.Local
- Get the type object for the local.
- localInstance(LocalInstance) -
Method in interface polyglot.ast.Local
- Set the type object for the local.
- localInstance(LocalInstance) -
Method in interface polyglot.ast.LocalDecl
- Set the type object for the local we are declaring.
- localInstance() -
Method in interface polyglot.ast.VarDecl
- Get the type object for the local we are declaring.
- localInstance() -
Method in class polyglot.ext.jl.ast.Formal_c
- Get the local instance of the formal.
- localInstance(LocalInstance) -
Method in class polyglot.ext.jl.ast.Formal_c
- Set the local instance of the formal.
- localInstance() -
Method in class polyglot.ext.jl.ast.Local_c
- Get the local instance of the local.
- localInstance(LocalInstance) -
Method in class polyglot.ext.jl.ast.Local_c
- Set the local instance of the local.
- localInstance(LocalInstance) -
Method in class polyglot.ext.jl.ast.LocalDecl_c
- Set the local instance of the declaration.
- localInstance() -
Method in class polyglot.ext.jl.ast.LocalDecl_c
- Get the local instance of the declaration.
- localInstance(Position, Flags, Type, String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- LocalInstance - Interface in polyglot.types
- A
LocalInstance
contains type information for a local variable. - localInstance(Position, Flags, Type, String) -
Method in interface polyglot.types.TypeSystem
- Create a local variable instance.
- LocalInstance_c - Class in polyglot.ext.jl.types
- A
LocalInstance
contains type information for a local variable. - LocalInstance_c() -
Constructor for class polyglot.ext.jl.types.LocalInstance_c
- Used for deserializing types.
- LocalInstance_c(TypeSystem, Position, Flags, Type, String) -
Constructor for class polyglot.ext.jl.types.LocalInstance_c
-
- LONG -
Static variable in interface polyglot.ast.IntLit
-
- LONG -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LONG -
Static variable in class polyglot.ext.jl.parse.sym
-
- LONG -
Static variable in class polyglot.ext.jl.qq.sym
-
- Long() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- LONG -
Static variable in class polyglot.ext.pao.parse.sym
-
- Long - Class in polyglot.ext.pao.runtime
- Boxed longs.
- Long(long) -
Constructor for class polyglot.ext.pao.runtime.Long
-
- LONG -
Static variable in interface polyglot.types.PrimitiveType
-
- Long() -
Method in interface polyglot.types.TypeSystem
long
- LONG_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- LONG_LITERAL -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LONG_LITERAL -
Static variable in class polyglot.ext.jl.parse.sym
-
- LONG_LITERAL -
Static variable in class polyglot.ext.jl.qq.sym
-
- LONG_LITERAL -
Static variable in class polyglot.ext.pao.parse.sym
-
- LONG_LITERAL_BD -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LONG_LITERAL_BD -
Static variable in class polyglot.ext.jl.parse.sym
-
- LONG_LITERAL_BD -
Static variable in class polyglot.ext.jl.qq.sym
-
- LONG_LITERAL_BD -
Static variable in class polyglot.ext.pao.parse.sym
-
- LongLiteral - Class in polyglot.lex
- A token class for long literals.
- LongLiteral(Position, long, int) -
Constructor for class polyglot.lex.LongLiteral
-
- longValue() -
Method in interface polyglot.ast.NumLit
- The literal's value.
- longValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- longValue() -
Method in class polyglot.ext.jl.ast.NumLit_c
- Get the value of the expression.
- longValue() -
Method in class polyglot.ext.pao.runtime.Long
-
- Loop - Interface in polyglot.ast
- An immutable representation of a Java language
for
statement. - Loop_c - Class in polyglot.ext.jl.ast
- An immutable representation of a Java language
while
statement. - Loop_c(Position) -
Constructor for class polyglot.ext.jl.ast.Loop_c
-
- LPAREN -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LPAREN -
Static variable in class polyglot.ext.jl.parse.sym
-
- LPAREN -
Static variable in class polyglot.ext.jl.qq.sym
-
- LPAREN -
Static variable in class polyglot.ext.pao.parse.sym
-
- LSHIFT -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LSHIFT -
Static variable in class polyglot.ext.jl.parse.sym
-
- LSHIFT -
Static variable in class polyglot.ext.jl.qq.sym
-
- LSHIFT -
Static variable in class polyglot.ext.pao.parse.sym
-
- LSHIFTEQ -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LSHIFTEQ -
Static variable in class polyglot.ext.jl.parse.sym
-
- LSHIFTEQ -
Static variable in class polyglot.ext.jl.qq.sym
-
- LSHIFTEQ -
Static variable in class polyglot.ext.pao.parse.sym
-
- LT -
Static variable in interface polyglot.ast.Binary
-
- LT -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LT -
Static variable in class polyglot.ext.jl.parse.sym
-
- LT -
Static variable in class polyglot.ext.jl.qq.sym
-
- LT -
Static variable in class polyglot.ext.pao.parse.sym
-
- LTEQ -
Static variable in class polyglot.ext.coffer.parse.sym
-
- LTEQ -
Static variable in class polyglot.ext.jl.parse.sym
-
- LTEQ -
Static variable in class polyglot.ext.jl.qq.sym
-
- LTEQ -
Static variable in class polyglot.ext.pao.parse.sym
-
t
to each element of l
.
MemberInstance
is an entity that can be a member of
a class.name
and actual parameters of types actualTypes
.
mi
can be called with name name
and actual parameters of types actualTypes
.
name
and actual parameters of types actualTypes
.
MethodInstance
represents the type information for a Java
method.MethodInstance
represents the type information for a Java
method.name
with the given formal
parameter types, if any.
name
, if any.
this
has more restrictive access flags than
f
.
this
is more specific than pi
in terms of method overloading.
m1
is more specific than m2
.
this
is more specific than
p
, where more specific is defined as JLS
15.12.2.2.
this
is more specific than pi
in terms of method overloading.
*
, /
, or %
expression.
Named
is a TypeObject that is named.this
with the native
flag set.
expr
, where the
Item
at the start of evaluating the expression is
startingItem
.
New
is an immutable representation of the use of the
new
operator to create a new instance of a class.New
is an immutable representation of the use of the
new
operator to create a new instance of a class.NewArray
represents a new array expression such as new
File[8][] { null }
.NewArray
represents a new array expression such as new
File[8][] { null }
.Node
represents an AST node.Node
represents an AST node.NodeFactory
constructs AST nodes.NodeFactory
that this Visitor is using.
NodeFactory
constructs AST nodes.Node
represents an AST node.NodeScrambler
is test case generator of sorts.NodeScrambler
with the given random number
generator seed.
NodeVisitor
represents an implementation of the "Visitor"
style of tree traversal.null
.
null
.null
.java.lang.NullPointerException
NullType
represents the type of the Java null
literal.NullType
represents the type of the Java keyword
null
.value
can be converted to this type.
value
can be converted to this type.
value
can be implicitly cast to Primitive
type t
.
value
can be implicitly cast to Primitive
type t
.
value
can be converted to this type.
value
can be converted to this type.
value
can be implicitly cast to type
t
.
value
can be implicitly cast to
type t
.
value
can be converted to
this primitive type.
value
can be converted to
this primitive type.
value
can be converted to this type.
value
can be converted to this type.
value
can be converted to this type.
value
can be converted to this type.
java.lang.Object
java.lang.ArrayIndexOutOfBoundsException
n
, the visitor has the option of
overriding all traversal of the children of n
.
n
, the visitor has the option of
overriding all traversal of the children of n
.
this
) to super classes.
mi
(potentially) overrides, in
order from this class (that is, including this
) to super
classes.
this
) to super classes.
this
with no access flags
(public
, private
, protected
) set.
Package
represents a Java package.PackageType
represents a package type.PackageContextResolver
is responsible for looking up types
and packages in a package by name.name
exists.
dir
.
name
exists.
PackageNode
is the syntactic representation of a
Java package within the abstract syntax tree.PackageNode
is the syntactic representation of a
Java package within the abstract syntax tree.PaoExt
implementation for the
Binary
AST node.PaoExt
implementation for the
Cast
AST node.Ext
interface for the pao extension.PaoExt
.InstanceOf
AST node.PaoExt
implementation for the
InstanceOf
AST node.NodeFactory
implementation for the pao extension.ParsedClassType
represents a class loaded from a source file.ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
ClassDecl
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
Expr
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
SourceFile
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
ClassMember
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
Stmt
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
TypeNode
AST node,
applying substitutions.
Pass
represents a compiler pass.id
.
begin
and end
, inclusive.
Job
needs to go through.
Peer
for the Term n
, where
n
does not appear in a finally block.
Peer
for the Term n
that is
associated with the given path to the finally block.
Peer
s
that represent occurrences of the
AST node in the flow graph.
Peer
s in this flow graph.
Peer
s for the given
Term n
.
id
is still pending.
polyglot.main
.Prefix
represents any node that can be used as the
prefix of a Receiver
.java.lang.Object
).
CodeWriter
.
PrimitiveType
represents a type which may not be directly
coerced to java.lang.Object (under the standard Java type system).PrimitiveType_c
represents a primitive type.expr
based on its precedence and the precedence of this expression.
- printSubExpr(Expr, CodeWriter, PrettyPrinter) -
Method in interface polyglot.ast.Expr
- Correctly parenthesize the subexpression
expr
based on its precedence and the precedence of this expression.
- printSubExpr(Expr, CodeWriter, PrettyPrinter) -
Method in class polyglot.ext.jl.ast.Expr_c
- Correctly parenthesize the subexpression
expr given
the its precendence and the precedence of the current expression.
- printSubExpr(Expr, boolean, CodeWriter, PrettyPrinter) -
Method in class polyglot.ext.jl.ast.Expr_c
- Correctly parenthesize the subexpression
expr given
the its precendence and the precedence of the current expression.
- printSubStmt(Stmt, CodeWriter, PrettyPrinter) -
Method in class polyglot.ext.jl.ast.Node_c
-
- printType -
Variable in class polyglot.visit.PrettyPrinter
-
- printType() -
Method in class polyglot.visit.PrettyPrinter
- Flag indicating whether to print the type in a local declaration.
- printType(boolean) -
Method in class polyglot.visit.PrettyPrinter
- Set a flag indicating whether to print type type in a local declaration.
- PRIVATE -
Static variable in class polyglot.ext.coffer.parse.sym
-
- PRIVATE -
Static variable in class polyglot.ext.jl.parse.sym
-
- PRIVATE -
Static variable in class polyglot.ext.jl.qq.sym
-
- Private() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- PRIVATE -
Static variable in class polyglot.ext.pao.parse.sym
-
- PRIVATE -
Static variable in class polyglot.types.Flags
-
- Private() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the private
flag set.
- Private() -
Method in interface polyglot.types.TypeSystem
-
- ProcedureCall - Interface in polyglot.ast
- A
ProcedureCall
is an interface representing a
method or constructor call. - ProcedureCallExt_c - Class in polyglot.ext.coffer.extension
-
- ProcedureCallExt_c() -
Constructor for class polyglot.ext.coffer.extension.ProcedureCallExt_c
-
- ProcedureDecl - Interface in polyglot.ast
- A procedure declaration.
- ProcedureDeclExt_c - Class in polyglot.ext.coffer.extension
- The Coffer extension of the
ProcedureDecl
node. - ProcedureDeclExt_c() -
Constructor for class polyglot.ext.coffer.extension.ProcedureDeclExt_c
-
- procedureInstance() -
Method in interface polyglot.ast.ProcedureCall
- The type object of the method we are calling.
- procedureInstance() -
Method in interface polyglot.ast.ProcedureDecl
- The procedure type object.
- procedureInstance() -
Method in class polyglot.ext.jl.ast.Call_c
-
- procedureInstance() -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
-
- procedureInstance() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
- Get the procedureInstance of the constructor.
- procedureInstance() -
Method in class polyglot.ext.jl.ast.MethodDecl_c
- Get the procedure instance of the method.
- procedureInstance() -
Method in class polyglot.ext.jl.ast.New_c
-
- ProcedureInstance - Interface in polyglot.types
- A
ProcedureInstance
contains the type information for a Java
procedure (either a method or a constructor). - ProcedureInstance_c - Class in polyglot.ext.jl.types
- A
ProcedureInstance_c
contains the type information for a Java
procedure (either a method or a constructor). - ProcedureInstance_c() -
Constructor for class polyglot.ext.jl.types.ProcedureInstance_c
- Used for deserializing types.
- ProcedureInstance_c(TypeSystem, Position, ReferenceType, Flags, List, List) -
Constructor for class polyglot.ext.jl.types.ProcedureInstance_c
-
- Production - Class in ppg.atoms
-
- Production(Nonterminal, Vector) -
Constructor for class ppg.atoms.Production
-
- production_table() -
Method in class polyglot.ext.coffer.parse.Grm
- Access to production table.
- production_table() -
Method in class polyglot.ext.jl.parse.Grm
- Access to production table.
- production_table() -
Method in class polyglot.ext.jl.qq.Grm
- Access to production table.
- production_table() -
Method in class polyglot.ext.pao.parse.Grm
- Access to production table.
- production_table() -
Method in class ppg.parse.Parser
- Access to production table.
- promote(Type, Type) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- promote(Type) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- promote(Type) -
Method in interface polyglot.types.TypeSystem
- Unary promotion for numeric types.
- promote(Type, Type) -
Method in interface polyglot.types.TypeSystem
- Binary promotion for numeric types.
- promoteNumeric(PrimitiveType, PrimitiveType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- promoteNumeric(PrimitiveType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- PROTECTED -
Static variable in class polyglot.ext.coffer.parse.sym
-
- PROTECTED -
Static variable in class polyglot.ext.jl.parse.sym
-
- PROTECTED -
Static variable in class polyglot.ext.jl.qq.sym
-
- Protected() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- PROTECTED -
Static variable in class polyglot.ext.pao.parse.sym
-
- PROTECTED -
Static variable in class polyglot.types.Flags
-
- Protected() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the protected
flag set.
- Protected() -
Method in interface polyglot.types.TypeSystem
-
- PUBLIC -
Static variable in class polyglot.ext.coffer.parse.sym
-
- PUBLIC -
Static variable in class polyglot.ext.jl.parse.sym
-
- PUBLIC -
Static variable in class polyglot.ext.jl.qq.sym
-
- Public() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- PUBLIC -
Static variable in class polyglot.ext.pao.parse.sym
-
- PUBLIC -
Static variable in class polyglot.types.Flags
-
- Public() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the public
flag set.
- Public() -
Method in interface polyglot.types.TypeSystem
-
- push() -
Method in class polyglot.ext.coffer.types.CofferContext_c
-
- push() -
Method in class polyglot.ext.jl.types.Context_c
-
- push(Stmt) -
Method in class polyglot.visit.CFGBuilder
- Construct a new CFGBuilder with the a new innermost loop or
try-block
n
.
- push(Stmt, boolean) -
Method in class polyglot.visit.CFGBuilder
- Construct a new CFGBuilder with the a new innermost loop or
try-block
n
, optionally skipping innermost catch blocks.
- push() -
Method in class polyglot.visit.ExceptionChecker
-
- push() -
Method in class polyglot.visit.TypeBuilder
-
- pushAnonClass(Position) -
Method in class polyglot.visit.TypeBuilder
-
- pushBlock() -
Method in class polyglot.ext.jl.types.Context_c
- pushes an additional block-scoping level.
- pushBlock() -
Method in interface polyglot.types.Context
- Enter the scope of a block.
- pushClass(ParsedClassType, ClassType) -
Method in class polyglot.ext.jl.types.Context_c
- Pushes on a class scoping.
- pushClass(ParsedClassType, ClassType) -
Method in interface polyglot.types.Context
- Enter the scope of a class.
- pushClass(ParsedClassType) -
Method in class polyglot.visit.TypeBuilder
-
- pushClass(Position, Flags, String) -
Method in class polyglot.visit.TypeBuilder
-
- pushCode(CodeInstance) -
Method in class polyglot.ext.jl.types.Context_c
- enters a method
- pushCode(CodeInstance) -
Method in interface polyglot.types.Context
- Enter the scope of a method or constructor.
- pushCode() -
Method in class polyglot.visit.TypeBuilder
-
- pushNew() -
Method in class polyglot.visit.ExceptionChecker
-
- pushSource(ImportTable) -
Method in class polyglot.ext.jl.types.Context_c
- Push a source file scope.
- pushSource(ImportTable) -
Method in interface polyglot.types.Context
- Enter the scope of a source file.
- pushStatic() -
Method in class polyglot.ext.jl.types.Context_c
- pushes an additional static scoping level.
- pushStatic() -
Method in interface polyglot.types.Context
- Enter a static scope.
- put(Key, Key) -
Method in interface polyglot.ext.coffer.types.CofferSubst
-
- put(Key, Key) -
Method in class polyglot.ext.coffer.types.CofferSubst_c
-
- put(Object, Object) -
Method in class polyglot.util.NestedMap
-
- put(Object, Object) -
Method in class polyglot.util.NilMap
-
- putAll(Map) -
Method in class polyglot.util.NilMap
-
pos
for the position
of the nodes created.
ClassDecl
.
Expr
.
SourceFile
.
ClassMember
.
Stmt
.
TypeNode
.
Qualifier
can be used to qualify a type: it can be either
a package or a named class type.QualifierNode
represents any node that can be used as a type
qualifier (polyglot.types.Qualifier
).Base64.InputStream.read()
repeatedly until the end of stream
is reached or len bytes are read.
Receiver
represents any node that can be used as the
receiver of a method or of a field access.reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
ReferenceType
represents a reference type: a type which
contains methods and fields and which is a subtype of Object.ReferenceType
represents a reference type --
a type on which contains methods and fields and is a subtype of
Object.<
, >
, <=
, and >=
.
s
in the set such that
s
decends from o
id
from passes
.
id
in passes
with
the list of newPasses
.
id
in passes
with
the pass pass
.
Resolver
is responsible for looking up types and
packages by name.other
set.
Return
represents a return
statement in Java.Return
represents a return
statement in Java.==
and !=
to
invoke Primitive.equals(o, p)
.
PaoBoxer
.
Node
associated with this Ext
object, to automatically box and unbox primitives.
rewrite
, returns the node
unchanged.
instanceof
checks where the comparison type is
a primitive type to use the boxed type instead.
job
.
pass
on the job.
java.lang.RuntimeException
goal
pass completes.
goal
pass.
SourceJob
from the non-empty
worklist
.
java.io.Serializable
other
also set.
<<
, >>
, and >>>
.
short
topic
of obscurity
level
should be reported, based on use of the
-report command-line switches given by the user.
topics
of obscurity
level
should be reported, based on use of the
-report command-line switches given by the user.
topics
of obscurity
level
should be reported, based on use of the
-report command-line switches given by the user.
SilentErrorQueue
records but does not output error messages.Source
associated with the
SourceJob
returned by sourceJob
.
Source
represents a source file.Source
that this Job
is for.
SourceCollection
represents a collection of source files.SourceCollection
represents a collection of source files.SourceFile
is an immutable representations of a Java
language source file.SourceFile
is an immutable representations of a Java
langauge source file.SourceJob
associated with our outer Job
.
SourceJob
associated with this Job
.
SourceJob
encapsulates work done by the compiler on behalf of
one source file.SourceLoader
is responsible for loading source files.SpawnPass
spawns a new job and runs it on the current
job's top-level context and ast.Special
is an immutable representation of a
reference to this
or super
Special(Position, Special.Kind) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
Special
is an immutable representation of a
reference to this
or super
Special_c(Position, Special.Kind, TypeNode) -
Constructor for class polyglot.ext.jl.ast.Special_c
this
with the static
flag set.
t
, modified as necessary to make it a legal
static target.
StdErrorQueue
handles outputing error messages.Stmt
represents any Java statement.Stmt
represents any Java statement.this
with the strictfp
flag set.
java.lang.String
+
when applied to Strings.
StringLit
represents an immutable instance of a
String
which corresponds to a literal string in Java code.StringLit
represents an immutable instance of a
String
which corresponds to a literal string in Java code.ConstructorInstance
.
FieldInstance
.
MethodInstance
.
Type
.
polyglot.types.Type
.Switch
is an immutable representation of a Java
switch
statement.Switch
is an immutable representation of a Java
switch
statement.SwitchBlock
is a list of statements within a switch.SwitchBlock
is a list of statements within a switch.SwitchElement
is statement inside a switch.synchronized
block.this
with the
synchronized
flag set.
synchronized
block.TargetFactory
is responsible for opening output files.Term
represents any Java expression or statement on which
dataflow can be performed.Term
represents any Java expression or statement on which
dataflow can be performed.Throw
is an immutable representation of a throw
statement.Throw
is an immutable representation of a throw
statement.java.lang.Throwable
this
throws fewer exceptions than
p
.
pi
.
m1
throws fewer exceptions than
m2
.
this
throws fewer exceptions than
p
.
pi
.
TrackedTypeNode
interface,
a type node for a class instantiated with a key.this
with the transient
flag set.
CodeWriter
.
try
block, one or more
catch
blocks, and an optional finally
block.try
block, one or more
catch
blocks, and an optional finally
block.type
.
Type
is the base type of all classes which represent
types.Type
.ReferenceType
.
Typed
represents any node that has a type
associated with it.TypeEncoder
gives the ability to encode a polyglot
Type
as a Java string.TypeNode
is the syntactic representation of a
Type
within the abstract syntax tree.TypeNode
is the syntactic representation of a
Type
within the abstract syntax tree.TypeObject
is a compile-time value created by the type system.TypeSystem
defines the types of the language and
how they are related.TypeSystem
that this Visitor is using.
Unary
represents a Java unary expression, an
immutable pair of an expression and an an operator.Unary
represents a Java unary expression, an
immutable pair of an expression and an operator.VarDecl
represents a variable declaration, of either a formal
or a local variable.VarInstance
contains type information for a variable.VarInstance
contains type information for a variable.a
with a single successor
succ
.
a
with a single successor
succ
, and EdgeKey edgeKey
a
to successors succ1
and succ2
with EdgeKeys edgeKey1
and
edgeKey2
respecitvely.
a
to all successors succ
with the EdgeKey edgeKey
for all edges created.
a
with successors
succs
.
parent
, and child
node child
.
t
.
void
this
with the volatile
flag set.
while
statement.while
statement.SourceJob
s.
t
.
t
.
Base64.OutputStream.write(int)
repeatedly until len
bytes are written.
s
verbatim on the output stream.
s
on the output stream.
s
verbatim on the output stream.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |