|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
+
when applied to numbers, and the precedence of -
.
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.ExtFactory
provides
a way of chaining together ExtFactories, and default implementations
of factory methods for each node.ExtensionInfo
.Access
represents a Parse
of the form "P[e]"
where e must be an expression.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.AmbInstOrAccess
is an ambiguous piece of syntax
that represents either an instantiated parametric type
or an array access.AmbNameParam
is a name used as a parameter in an instantiation.AmbNewArray
is an ambiguous piece of syntax
that represents the creation of a new array, where the
parser is unable to distinguish whether the first dimension
in the creation is a parametric instantiation or an expression
indicating size.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.Ambiguous
represents an ambiguous AST node.java.lang.ArithmeticException
Array
represents a Parse
of the form "P[]".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.ArrayAccess
is an immutable representation of an
access of an array member.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 } }.java.lang.ArrayStoreException
ArrayType
represents an array of other 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.ArrayType
represents an array of base java types.assert
statement.Assert
is an assert statement.Assign
represents a Java assignment expression.Assign
represents a Java assignment expression.ct
that may contain abstract methods that must be
implemented by ct
.
flags
in package pkg1
is accessible from package
pkg2
.
c
.
c
.
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
.
t
have been instantiated.
t
have been instantiated.
Parse
out of a subscript syntax -- this[b] -- creating the most
specific type possible.
dims
-dimensional
array of n
.
dims
-array of this type.
dims
-array of this type.
type
type
dims
-array of type
dims
-array of type
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.
&) 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
-
- BLOCK -
Static variable in class polyglot.ext.jl.types.Context_c
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN -
Static variable in class polyglot.ext.jl.qq.sym
-
- BOOLEAN -
Static variable in interface polyglot.types.PrimitiveType
-
- BOOLEAN_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.parse.sym
-
- BOOLEAN_LITERAL -
Static variable in class polyglot.ext.jl.qq.sym
-
- BOOLEAN_PROXY -
Static variable in class polyglot.ext.polyj.types.PolyJTypeSystem_c
-
- BOTTOM -
Static variable in class polyglot.visit.InitChecker
-
- BREAK -
Static variable in interface polyglot.ast.Branch
-
- BREAK -
Static variable in class polyglot.ext.jl.parse.sym
-
- BREAK -
Static variable in class polyglot.ext.jl.qq.sym
-
- 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.
- BYTE -
Static variable in class polyglot.ext.jl.parse.sym
-
- BYTE -
Static variable in class polyglot.ext.jl.qq.sym
-
- BYTE -
Static variable in interface polyglot.types.PrimitiveType
-
- BYTE_ -
Variable in class polyglot.ext.jl.types.TypeSystem_c
-
- BYTE_PROXY -
Static variable in class polyglot.ext.polyj.types.PolyJTypeSystem_c
-
- BackMapProcedures - interface polyglot.ext.polyj.types.BackMapProcedures.
-
- BadSerializationException - exception polyglot.types.BadSerializationException.
- Signals an error in the class resolver system.
- BadSerializationException(String) -
Constructor for class polyglot.types.BadSerializationException
-
- BadSerializationException(String, Position) -
Constructor for class polyglot.types.BadSerializationException
-
- BarrierPass - class polyglot.frontend.BarrierPass.
- A
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. - BarrierPass(Pass.ID, Job) -
Constructor for class polyglot.frontend.BarrierPass
-
- Base64 - class polyglot.util.Base64.
- Provides encoding of raw bytes to base64-encoded characters, and
decoding of base64 characters to raw bytes.
- Base64() -
Constructor for class polyglot.util.Base64
-
- BaseBindingsGenerator - class polyglot.ext.polyj.visit.BaseBindingsGenerator.
- Visits the AST to generate the base bindings in the
PolyJ translation table that will be necessary in
order to generate adapter interfaces and classes.
- BaseBindingsGenerator(Job, PolyJTypeSystem, NodeFactory) -
Constructor for class polyglot.ext.polyj.visit.BaseBindingsGenerator
-
- BaseParser - class polyglot.parse.BaseParser.
-
- BaseParser(Lexer, TypeSystem, NodeFactory, ErrorQueue) -
Constructor for class polyglot.parse.BaseParser
-
- Binary - interface polyglot.ast.Binary.
- A
Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator. - Binary(Position, Expr, Binary.Operator, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Binary(Position, Expr, Binary.Operator, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Binary(Position, Expr, Binary.Operator, Expr) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- Binary.Operator - class polyglot.ast.Binary.Operator.
- Binary expression operator.
- Binary.Operator(String, Precedence) -
Constructor for class polyglot.ast.Binary.Operator
-
- Binary_c - class polyglot.ext.jl.ast.Binary_c.
- A
Binary
represents a Java binary expression, an
immutable pair of expressions combined with an operator. - Binary_c(Position, Expr, Binary.Operator, Expr) -
Constructor for class polyglot.ext.jl.ast.Binary_c
-
- BitVector - class polyglot.util.BitVector.
- 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 polyglot.ast.Block.
- 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_c - class polyglot.ext.jl.ast.Block_c.
- 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
-
- BoolProxy - class polyglot.ext.polyj.types.proxy.BoolProxy.
-
- BoolProxy() -
Constructor for class polyglot.ext.polyj.types.proxy.BoolProxy
-
- BoolProxy(boolean) -
Constructor for class polyglot.ext.polyj.types.proxy.BoolProxy
-
- BoolWrap - class polyglot.ext.polyj.wrappers.BoolWrap.
-
- BoolWrap(boolean) -
Constructor for class polyglot.ext.polyj.wrappers.BoolWrap
-
- Boolean() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- Boolean - class polyglot.ext.op.runtime.Boolean.
-
- Boolean(boolean) -
Constructor for class polyglot.ext.op.runtime.Boolean
-
- Boolean - class polyglot.ext.pao.runtime.Boolean.
- Boxed booleans.
- Boolean(boolean) -
Constructor for class polyglot.ext.pao.runtime.Boolean
-
- Boolean() -
Method in interface polyglot.types.TypeSystem
boolean
- BooleanLit - interface polyglot.ast.BooleanLit.
- 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 polyglot.ext.jl.ast.BooleanLit_c.
- A
BooleanLit
represents a boolean literal expression. - BooleanLit_c(Position, boolean) -
Constructor for class polyglot.ext.jl.ast.BooleanLit_c
-
- BooleanLiteral - class polyglot.lex.BooleanLiteral.
- Token class for boolean literals.
- BooleanLiteral(Position, boolean, int) -
Constructor for class polyglot.lex.BooleanLiteral
-
- Branch - interface polyglot.ast.Branch.
- 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 polyglot.ast.Branch.Kind.
- Branch kind: either break or continue.
- Branch.Kind(String) -
Constructor for class polyglot.ast.Branch.Kind
-
- Branch_c - class polyglot.ext.jl.ast.Branch_c.
- 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(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Break(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- Break(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Break(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Byte() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- Byte - class polyglot.ext.pao.runtime.Byte.
- Boxed bytes.
- Byte(byte) -
Constructor for class polyglot.ext.pao.runtime.Byte
-
- Byte() -
Method in interface polyglot.types.TypeSystem
byte
- ByteProxy - class polyglot.ext.polyj.types.proxy.ByteProxy.
-
- ByteProxy() -
Constructor for class polyglot.ext.polyj.types.proxy.ByteProxy
-
- ByteProxy(ByteProxy) -
Constructor for class polyglot.ext.polyj.types.proxy.ByteProxy
-
- ByteProxy(byte) -
Constructor for class polyglot.ext.polyj.types.proxy.ByteProxy
-
- ByteWrap - class polyglot.ext.polyj.wrappers.ByteWrap.
-
- ByteWrap(byte) -
Constructor for class polyglot.ext.polyj.wrappers.ByteWrap
-
- ByteWrap() -
Constructor for class polyglot.ext.polyj.wrappers.ByteWrap
-
- base() -
Method in interface polyglot.ast.ArrayTypeNode
- Base of the array.
- base(TypeNode) -
Method in interface polyglot.ast.ArrayTypeNode
- Set the base of the array.
- base() -
Method in interface polyglot.ext.carray.ast.ConstArrayTypeNode
-
- base(TypeNode) -
Method in interface polyglot.ext.carray.ast.ConstArrayTypeNode
-
- base() -
Method in interface polyglot.ext.coffer.ast.TrackedTypeNode
-
- base(TypeNode) -
Method in interface polyglot.ext.coffer.ast.TrackedTypeNode
-
- base -
Variable in class polyglot.ext.coffer.ast.TrackedTypeNode_c
-
- base() -
Method in class polyglot.ext.coffer.ast.TrackedTypeNode_c
-
- base(TypeNode) -
Method in class polyglot.ext.coffer.ast.TrackedTypeNode_c
-
- base -
Variable in class polyglot.ext.jl.ast.ArrayTypeNode_c
-
- base() -
Method in class polyglot.ext.jl.ast.ArrayTypeNode_c
-
- base(TypeNode) -
Method in class polyglot.ext.jl.ast.ArrayTypeNode_c
-
- base -
Variable in class polyglot.ext.jl.types.ArrayType_c
-
- base() -
Method in class polyglot.ext.jl.types.ArrayType_c
- Get the base type of the array.
- base(Type) -
Method in class polyglot.ext.jl.types.ArrayType_c
- Set the base type of the array.
- base -
Variable in class polyglot.ext.param.types.SubstClassType_c
- The class type we are substituting into.
- base() -
Method in class polyglot.ext.param.types.SubstClassType_c
- Get the class on that we are performing substitutions.
- base() -
Method in interface polyglot.ext.param.types.SubstType
- The type on which substitutions are performed.
- base() -
Method in interface polyglot.ext.polyj.ast.InstTypeNode
- The base of the instantiation.
- base(TypeNode) -
Method in interface polyglot.ext.polyj.ast.InstTypeNode
-
- base -
Variable in class polyglot.ext.polyj.ast.InstTypeNode_c
-
- base() -
Method in class polyglot.ext.polyj.ast.InstTypeNode_c
-
- base(TypeNode) -
Method in class polyglot.ext.polyj.ast.InstTypeNode_c
-
- base() -
Method in interface polyglot.types.ArrayType
- Base type of the array.
- base(Type) -
Method in interface polyglot.types.ArrayType
- Set the base type of the array, returning a new type.
- base64 -
Variable in class polyglot.util.TypeEncoder
-
- baseType() -
Method in interface polyglot.ast.NewArray
- The array's base type.
- baseType(TypeNode) -
Method in interface polyglot.ast.NewArray
- Set the array's base type.
- baseType -
Variable in class polyglot.ext.jl.ast.NewArray_c
-
- baseType() -
Method in class polyglot.ext.jl.ast.NewArray_c
- Get the base type node of the expression.
- baseType(TypeNode) -
Method in class polyglot.ext.jl.ast.NewArray_c
- Set the base type node of the expression.
- beforePass(List, Pass.ID, List) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Insert the list of
newPasses
into passes
immediately before the pass named id
.
- beforePass(List, Pass.ID, Pass) -
Method in class polyglot.frontend.AbstractExtensionInfo
- Insert the pass
pass
into passes
immediately before the pass named id
.
- beforePass(List, Pass.ID, Pass) -
Method in interface polyglot.frontend.ExtensionInfo
- Add a pass before an existing pass.
- beforePass(List, Pass.ID, List) -
Method in interface polyglot.frontend.ExtensionInfo
- Add a list of passes before an existing pass.
- begin -
Variable in class polyglot.frontend.InnerJob
- Only the passes between
begin
and end
will
be performed.
- begin(int) -
Method in class polyglot.util.CodeWriter
- Start a new block with a relative indentation of
n
characters.
- begin() -
Method in class polyglot.visit.ContextVisitor
-
- begin() -
Method in class polyglot.visit.ErrorHandlingVisitor
- Part of the initialization done by begin() in an ErrorHandlingVisitor
method is initializing the error-handling state.
- begin() -
Method in class polyglot.visit.NodeVisitor
- The begin method is called before the entire tree is visited.
- begin(int) -
Method in class polyglot.visit.StringPrettyPrinter.StringCodeWriter
-
- begin() -
Method in class polyglot.visit.TypeBuilder
-
- begin(int) -
Method in class ppg.util.CodeWriter
- Start a new block with a relative indentation of
n
characters.
- bits -
Variable in class polyglot.types.Flags
- Bit set use to implement a flag set.
- 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.
- booleanValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- booleanValue() -
Method in class polyglot.ext.op.runtime.Boolean
-
- booleanValue() -
Method in class polyglot.ext.pao.runtime.Boolean
-
- booleanValue() -
Method in class polyglot.ext.polyj.types.proxy.BoolProxy
-
- bootclasspath -
Variable in class polyglot.main.Options
-
- 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
-
- breakupString() -
Method in class polyglot.ext.jl.ast.StringLit_c
- Break a long string literal into a concatenation of small string
literals.
- 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.carray.ast.ConstArrayTypeNode_c
-
- 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.FieldDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Field_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.LocalDecl_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.jl.ast.Local_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
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.polyj.ast.InstTypeNode_c
-
- buildTypes(TypeBuilder) -
Method in class polyglot.ext.polyj.ast.PolyJClassDecl_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
-
- byteValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- byteValue() -
Method in class polyglot.ext.pao.runtime.Byte
-
- byteValue() -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
&&) 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.
- CONST -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONST -
Static variable in class polyglot.ext.jl.qq.sym
-
- CONSTRUCTOR -
Static variable in class 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.
- CONTINUE -
Static variable in interface polyglot.ast.Branch
-
- CONTINUE -
Static variable in class polyglot.ext.jl.parse.sym
-
- CONTINUE -
Static variable in class polyglot.ext.jl.qq.sym
-
- COVAR_RET_CAST_REWRITE -
Static variable in class polyglot.ext.carcov.ExtensionInfo
-
- COVAR_RET_CAST_REWRITE -
Static variable in class polyglot.ext.covarRet.ExtensionInfo
-
- CUPSpec - class ppg.spec.CUPSpec.
-
- CUPSpec(String, Vector, Vector, Vector, Vector, String, Vector) -
Constructor for class ppg.spec.CUPSpec
-
- CachingResolver - class polyglot.types.CachingResolver.
- An
CachingResolver
memoizes another Resolver - CachingResolver(TopLevelResolver, ExtensionInfo) -
Constructor for class polyglot.types.CachingResolver
- Create a caching resolver.
- CachingTransformingList - class polyglot.util.CachingTransformingList.
- This subclass of TransformingList applies the transformation to each
element of the underlying list at most once.
- CachingTransformingList(Collection, Transformation) -
Constructor for class polyglot.util.CachingTransformingList
-
- CachingTransformingList(List, Transformation) -
Constructor for class polyglot.util.CachingTransformingList
-
- Call - interface polyglot.ast.Call.
- A
Call
is an immutable representation of a Java
method call. - Call(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String, Expr, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String, List) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String, Expr, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, Receiver, String, List) -
Method in interface polyglot.ast.NodeFactory
-
- Call(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, String, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, String, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, String, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, String, Expr, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, String, List) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String, Expr, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Call(Position, Receiver, String, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Call(Position, Receiver, String, List) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- Call_c - class polyglot.ext.jl.ast.Call_c.
- A
Call
is an immutable representation of a Java
method call. - Call_c(Position, Receiver, String, List) -
Constructor for class polyglot.ext.jl.ast.Call_c
-
- CanonicalKeySetNode - interface polyglot.ext.coffer.ast.CanonicalKeySetNode.
- A canonical key set AST node.
- CanonicalKeySetNode(Position, KeySet) -
Method in interface polyglot.ext.coffer.ast.CofferNodeFactory
-
- CanonicalKeySetNode(Position, KeySet) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CanonicalKeySetNode_c - class polyglot.ext.coffer.ast.CanonicalKeySetNode_c.
- Implementation of a canonical key set AST node.
- CanonicalKeySetNode_c(Position, KeySet) -
Constructor for class polyglot.ext.coffer.ast.CanonicalKeySetNode_c
-
- CanonicalTypeNode - interface polyglot.ast.CanonicalTypeNode.
- A
CanonicalTypeNode
is a type node for a canonical type. - CanonicalTypeNode(Position, Type) -
Method in interface polyglot.ast.NodeFactory
-
- CanonicalTypeNode(Position, Type) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- CanonicalTypeNode(Position, Type) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- CanonicalTypeNode_c - class polyglot.ext.jl.ast.CanonicalTypeNode_c.
- A
CanonicalTypeNode
is a type node for a canonical type. - CanonicalTypeNode_c(Position, Type) -
Constructor for class polyglot.ext.jl.ast.CanonicalTypeNode_c
-
- CarcovNodeFactory_c - class polyglot.ext.carcov.CarcovNodeFactory_c.
- A
NodeFactory
constructs AST nodes. - CarcovNodeFactory_c() -
Constructor for class polyglot.ext.carcov.CarcovNodeFactory_c
-
- CarcovTypeSystem - class polyglot.ext.carcov.CarcovTypeSystem.
-
- CarcovTypeSystem() -
Constructor for class polyglot.ext.carcov.CarcovTypeSystem
-
- CarrayAssign_c - class polyglot.ext.carray.ast.CarrayAssign_c.
- An
Assign
represents a Java assignment expression. - CarrayAssign_c(Position, Expr, Assign.Operator, Expr) -
Constructor for class polyglot.ext.carray.ast.CarrayAssign_c
-
- CarrayNodeFactory - interface polyglot.ext.carray.ast.CarrayNodeFactory.
- NodeFactory for carray extension.
- CarrayNodeFactory_c - class polyglot.ext.carray.ast.CarrayNodeFactory_c.
- NodeFactory for carray extension.
- CarrayNodeFactory_c() -
Constructor for class polyglot.ext.carray.ast.CarrayNodeFactory_c
-
- CarrayTypeSystem - class polyglot.ext.carray.types.CarrayTypeSystem.
-
- CarrayTypeSystem() -
Constructor for class polyglot.ext.carray.types.CarrayTypeSystem
-
- Case - interface polyglot.ast.Case.
- A
Case
is a representation of a Java case
statement. - Case(Position, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Case(Position, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Case_c - class polyglot.ext.jl.ast.Case_c.
- A
Case
is a representation of a Java case
statement. - Case_c(Position, Expr) -
Constructor for class polyglot.ext.jl.ast.Case_c
-
- Cast - interface polyglot.ast.Cast.
- A
Cast
is an immutable representation of a casting
operation. - Cast(Position, TypeNode, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Cast(Position, TypeNode, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Cast(Position, TypeNode, Expr) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.BoolWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.ByteWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.CharWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.DoubleWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.FloatWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.IntWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.LongWrap
-
- Cast(Object) -
Static method in class polyglot.ext.polyj.wrappers.ShortWrap
-
- Cast_c - class polyglot.ext.jl.ast.Cast_c.
- A
Cast
is an immutable representation of a casting
operation. - Cast_c(Position, TypeNode, Expr) -
Constructor for class polyglot.ext.jl.ast.Cast_c
-
- Catch - interface polyglot.ast.Catch.
- A
Catch
represents one half of a try-catch
statement. - Catch(Position, Formal, Block) -
Method in interface polyglot.ast.NodeFactory
-
- Catch(Position, Formal, Block) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Catch_c - class polyglot.ext.jl.ast.Catch_c.
- A
Catch
represents one half of a try-catch
statement. - Catch_c(Position, Formal, Block) -
Constructor for class polyglot.ext.jl.ast.Catch_c
-
- Char() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- Char() -
Method in interface polyglot.types.TypeSystem
char
- CharLit - interface polyglot.ast.CharLit.
- An
CharLit
represents a literal in java of
char
type. - CharLit(Position, char) -
Method in interface polyglot.ast.NodeFactory
-
- CharLit(Position, char) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- CharLit_c - class polyglot.ext.jl.ast.CharLit_c.
- An
CharLit
represents a literal in java of
char
type. - CharLit_c(Position, char) -
Constructor for class polyglot.ext.jl.ast.CharLit_c
-
- CharProxy - class polyglot.ext.polyj.types.proxy.CharProxy.
-
- CharProxy() -
Constructor for class polyglot.ext.polyj.types.proxy.CharProxy
-
- CharProxy(CharProxy) -
Constructor for class polyglot.ext.polyj.types.proxy.CharProxy
-
- CharProxy(char) -
Constructor for class polyglot.ext.polyj.types.proxy.CharProxy
-
- CharWrap - class polyglot.ext.polyj.wrappers.CharWrap.
-
- CharWrap(char) -
Constructor for class polyglot.ext.polyj.wrappers.CharWrap
-
- CharWrap() -
Constructor for class polyglot.ext.polyj.wrappers.CharWrap
-
- Character - class polyglot.ext.op.runtime.Character.
-
- Character(char) -
Constructor for class polyglot.ext.op.runtime.Character
-
- Character - class polyglot.ext.pao.runtime.Character.
- Boxed chars.
- Character(char) -
Constructor for class polyglot.ext.pao.runtime.Character
-
- CharacterLiteral - class polyglot.lex.CharacterLiteral.
- Token class for char literals.
- CharacterLiteral(Position, char, int) -
Constructor for class polyglot.lex.CharacterLiteral
-
- Class() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- Class() -
Method in interface polyglot.types.TypeSystem
java.lang.Class
- ClassBody - interface polyglot.ast.ClassBody.
- A
ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class. - ClassBody(Position, List) -
Method in interface polyglot.ast.NodeFactory
-
- ClassBody(Position, List) -
Method in class polyglot.ext.carcov.CarcovNodeFactory_c
-
- ClassBody(Position, List) -
Method in class polyglot.ext.covarRet.CovarRetNodeFactory
-
- ClassBody(Position, List) -
Method in class polyglot.ext.covop.CovopNodeFactory
-
- ClassBody(Position, List) -
Method in class polyglot.ext.covpolyj.CovPolyJNodeFactory
-
- ClassBody(Position, List) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ClassBody(Position, List) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ClassBody_c - class polyglot.ext.jl.ast.ClassBody_c.
- A
ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class. - ClassBody_c(Position, List) -
Constructor for class polyglot.ext.jl.ast.ClassBody_c
-
- ClassCastException() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- ClassCastException() -
Method in interface polyglot.types.TypeSystem
java.lang.ClassCastException
- ClassConstraint - interface polyglot.ext.polyj.ast.ClassConstraint.
-
- ClassConstraint(Position, String, List) -
Method in interface polyglot.ext.polyj.ast.PolyJNodeFactory
-
- ClassConstraint(Position, String, List) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ClassConstraint_c - class polyglot.ext.polyj.ast.ClassConstraint_c.
-
- ClassConstraint_c(Position, String, List) -
Constructor for class polyglot.ext.polyj.ast.ClassConstraint_c
-
- ClassContextResolver - class polyglot.types.ClassContextResolver.
- A
ClassContextResolver
looks up type names qualified with a class name. - ClassContextResolver(TypeSystem, ClassType) -
Constructor for class polyglot.types.ClassContextResolver
- Construct a resolver.
- ClassDecl - interface polyglot.ast.ClassDecl.
- A
ClassDecl
represents a top-level, member, or local class
declaration. - ClassDecl(Position, Flags, String, TypeNode, List, ClassBody) -
Method in interface polyglot.ast.NodeFactory
-
- ClassDecl(Position, Flags, String, TypeNode, List, ClassBody) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- ClassDecl(Position, Flags, String, TypeNode, List, ClassBody) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ClassDecl(Position, Flags, String, TypeNode, List, ClassBody) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ClassDecl_c - class polyglot.ext.jl.ast.ClassDecl_c.
- A
ClassDecl
is the definition of a class, abstract class,
or interface. - ClassDecl_c(Position, Flags, String, TypeNode, List, ClassBody) -
Constructor for class polyglot.ext.jl.ast.ClassDecl_c
-
- ClassFile - class polyglot.types.reflect.ClassFile.
- ClassFile basically represents a Java classfile as it is found on
disk.
- ClassFile(byte[]) -
Constructor for class polyglot.types.reflect.ClassFile
- Constructor.
- ClassFileLoader - class polyglot.types.reflect.ClassFileLoader.
- We implement our own class loader.
- ClassFileLoader() -
Constructor for class polyglot.types.reflect.ClassFileLoader
-
- ClassLit - interface polyglot.ast.ClassLit.
- A
ClassLit
represents a class literal expression. - ClassLit(Position, TypeNode) -
Method in interface polyglot.ast.NodeFactory
-
- ClassLit(Position, TypeNode) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- ClassLit_c - class polyglot.ext.jl.ast.ClassLit_c.
- A
ClassLit
represents a class literal expression. - ClassLit_c(Position, TypeNode) -
Constructor for class polyglot.ext.jl.ast.ClassLit_c
-
- ClassMember - interface polyglot.ast.ClassMember.
- A
ClassMember
is a method, a constructor, a field, an
initializer block, or another class declaration. - ClassPathLoader - class polyglot.types.reflect.ClassPathLoader.
- We implement our own class loader.
- ClassPathLoader(List, ClassFileLoader) -
Constructor for class polyglot.types.reflect.ClassPathLoader
-
- ClassPathLoader(String, ClassFileLoader) -
Constructor for class polyglot.types.reflect.ClassPathLoader
-
- ClassResolver - class polyglot.types.ClassResolver.
- ClassResolver
Overview:
A ClassResolver is responsible for taking in the name of a class and
returning a ClassType corresponding to that name.
- ClassResolver() -
Constructor for class polyglot.types.ClassResolver
-
- ClassSerializer - class polyglot.visit.ClassSerializer.
- Visitor which serializes class objects and adds a field to the class
containing the serialization.
- ClassSerializer(TypeSystem, NodeFactory, Date, ErrorQueue, Version) -
Constructor for class polyglot.visit.ClassSerializer
-
- ClassType - interface polyglot.types.ClassType.
- A
ClassType
represents a class, either loaded from a
classpath, parsed from a source file, or obtained from other source. - ClassType.Kind - class polyglot.types.ClassType.Kind.
-
- ClassType.Kind(String) -
Constructor for class polyglot.types.ClassType.Kind
-
- ClassType_c - class polyglot.ext.jl.types.ClassType_c.
- A
ClassType
represents a class -- either loaded from a
classpath, parsed from a source file, or obtained from other source. - ClassType_c() -
Constructor for class polyglot.ext.jl.types.ClassType_c
- Used for deserializing types.
- ClassType_c(TypeSystem) -
Constructor for class polyglot.ext.jl.types.ClassType_c
-
- ClassType_c(TypeSystem, Position) -
Constructor for class polyglot.ext.jl.types.ClassType_c
-
- Cloneable() -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- Cloneable() -
Method in interface polyglot.types.TypeSystem
java.lang.Cloneable
- Code - class ppg.code.Code.
-
- Code() -
Constructor for class ppg.code.Code
-
- CodeCleaner - class polyglot.visit.CodeCleaner.
- The
CodeCleaner
runs over the AST and performs some trivial
dead code elimination, while flattening blocks wherever possible. - CodeCleaner(NodeFactory) -
Constructor for class polyglot.visit.CodeCleaner
- Creates a visitor for cleaning code.
- CodeDecl - interface polyglot.ast.CodeDecl.
- A code declaration.
- CodeInstance - interface polyglot.types.CodeInstance.
- A
CodeInstance
contains the type information for a Java
code-chunk (a method, a constructor, or initializer). - CodeWriter - class polyglot.util.CodeWriter.
- A
CodeWriter
is a pretty-printing engine. - CodeWriter(OutputStream, int) -
Constructor for class polyglot.util.CodeWriter
- Create a CodeWriter object with output stream
o
and width width_
.
- CodeWriter(Writer, int) -
Constructor for class polyglot.util.CodeWriter
- Create a CodeWriter object with output
w
and
width width_
.
- CodeWriter - class ppg.util.CodeWriter.
- A
CodeWriter
is a pretty-printing engine. - CodeWriter(OutputStream, int) -
Constructor for class ppg.util.CodeWriter
- Create a CodeWriter object with output stream
o
and width width_
.
- CodeWriter(Writer, int) -
Constructor for class ppg.util.CodeWriter
- Create a CodeWriter object with output
w
and
width width_
.
- CofferClassDecl - interface polyglot.ext.coffer.ast.CofferClassDecl.
- A Coffer class declaration.
- CofferClassDecl(Position, Flags, String, KeyNode, TypeNode, List, ClassBody) -
Method in interface polyglot.ext.coffer.ast.CofferNodeFactory
-
- CofferClassDecl(Position, Flags, String, KeyNode, TypeNode, List, ClassBody) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CofferClassDecl_c - class polyglot.ext.coffer.ast.CofferClassDecl_c.
- An implementation of the
CofferClassDecl
interface. - CofferClassDecl_c(Position, Flags, String, KeyNode, TypeNode, List, ClassBody) -
Constructor for class polyglot.ext.coffer.ast.CofferClassDecl_c
-
- CofferClassType - interface polyglot.ext.coffer.types.CofferClassType.
-
- CofferConstructorDecl - interface polyglot.ext.coffer.ast.CofferConstructorDecl.
- An immutable representation of the Coffer constructor declaration.
- CofferConstructorDecl(Position, Flags, String, List, KeySetNode, KeySetNode, List, Block) -
Method in interface polyglot.ext.coffer.ast.CofferNodeFactory
-
- CofferConstructorDecl(Position, Flags, String, List, KeySetNode, KeySetNode, List, Block) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CofferConstructorDecl_c - class polyglot.ext.coffer.ast.CofferConstructorDecl_c.
- An implementation of the
CofferConstructorDecl
interface. - CofferConstructorDecl_c(Position, Flags, String, List, KeySetNode, KeySetNode, List, Block) -
Constructor for class polyglot.ext.coffer.ast.CofferConstructorDecl_c
-
- CofferConstructorDecl_c.GetType - class polyglot.ext.coffer.ast.CofferConstructorDecl_c.GetType.
-
- CofferConstructorDecl_c.GetType() -
Constructor for class polyglot.ext.coffer.ast.CofferConstructorDecl_c.GetType
-
- CofferConstructorInstance - interface polyglot.ext.coffer.types.CofferConstructorInstance.
- Coffer constructor instance.
- CofferConstructorInstance_c - class polyglot.ext.coffer.types.CofferConstructorInstance_c.
- An implementation of the
CofferConstructorInstance
interface. - CofferConstructorInstance_c(CofferTypeSystem, Position, ClassType, Flags, List, KeySet, KeySet, List) -
Constructor for class polyglot.ext.coffer.types.CofferConstructorInstance_c
-
- CofferConstructorInstance_c.GetType - class polyglot.ext.coffer.types.CofferConstructorInstance_c.GetType.
-
- CofferConstructorInstance_c.GetType() -
Constructor for class polyglot.ext.coffer.types.CofferConstructorInstance_c.GetType
-
- CofferContext - interface polyglot.ext.coffer.types.CofferContext.
-
- CofferContext_c - class polyglot.ext.coffer.types.CofferContext_c.
-
- CofferContext_c(TypeSystem) -
Constructor for class polyglot.ext.coffer.types.CofferContext_c
-
- CofferExt - interface polyglot.ext.coffer.extension.CofferExt.
- An immutable representation of the Coffer class declaration.
- CofferExtFactory_c - class polyglot.ext.coffer.ast.CofferExtFactory_c.
- An implementation of the
CofferNodeFactory
interface. - CofferExtFactory_c() -
Constructor for class polyglot.ext.coffer.ast.CofferExtFactory_c
-
- CofferExt_c - class polyglot.ext.coffer.extension.CofferExt_c.
-
- CofferExt_c() -
Constructor for class polyglot.ext.coffer.extension.CofferExt_c
-
- CofferMethodDecl - interface polyglot.ext.coffer.ast.CofferMethodDecl.
- An immutable representation of the Coffer method declaration.
- CofferMethodDecl(Position, Flags, TypeNode, String, List, KeySetNode, KeySetNode, List, Block) -
Method in interface polyglot.ext.coffer.ast.CofferNodeFactory
-
- CofferMethodDecl(Position, Flags, TypeNode, String, List, KeySetNode, KeySetNode, List, Block) -
Method in class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CofferMethodDecl_c - class polyglot.ext.coffer.ast.CofferMethodDecl_c.
- An implementation of the
CofferMethodDecl
interface. - CofferMethodDecl_c(Position, Flags, TypeNode, String, List, KeySetNode, KeySetNode, List, Block) -
Constructor for class polyglot.ext.coffer.ast.CofferMethodDecl_c
-
- CofferMethodDecl_c.GetType - class polyglot.ext.coffer.ast.CofferMethodDecl_c.GetType.
-
- CofferMethodDecl_c.GetType() -
Constructor for class polyglot.ext.coffer.ast.CofferMethodDecl_c.GetType
-
- CofferMethodInstance - interface polyglot.ext.coffer.types.CofferMethodInstance.
- Coffer method instance.
- CofferMethodInstance_c - class polyglot.ext.coffer.types.CofferMethodInstance_c.
- An implementation of the
CofferMethodInstance
interface. - CofferMethodInstance_c(CofferTypeSystem, Position, ReferenceType, Flags, Type, String, List, KeySet, KeySet, List) -
Constructor for class polyglot.ext.coffer.types.CofferMethodInstance_c
-
- CofferMethodInstance_c.GetType - class polyglot.ext.coffer.types.CofferMethodInstance_c.GetType.
-
- CofferMethodInstance_c.GetType() -
Constructor for class polyglot.ext.coffer.types.CofferMethodInstance_c.GetType
-
- CofferNodeFactory - interface polyglot.ext.coffer.ast.CofferNodeFactory.
- NodeFactory for Coffer extension.
- CofferNodeFactory_c - class polyglot.ext.coffer.ast.CofferNodeFactory_c.
- An implementation of the
CofferNodeFactory
interface. - CofferNodeFactory_c() -
Constructor for class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CofferNodeFactory_c(ExtFactory) -
Constructor for class polyglot.ext.coffer.ast.CofferNodeFactory_c
-
- CofferParsedClassType - interface polyglot.ext.coffer.types.CofferParsedClassType.
-
- CofferParsedClassType_c - class polyglot.ext.coffer.types.CofferParsedClassType_c.
-
- CofferParsedClassType_c(TypeSystem, LazyClassInitializer, Source) -
Constructor for class polyglot.ext.coffer.types.CofferParsedClassType_c
-
- CofferProcedureInstance - interface polyglot.ext.coffer.types.CofferProcedureInstance.
- Coffer procedure instance.
- CofferSubst - interface polyglot.ext.coffer.types.CofferSubst.
-
- CofferSubstClassType_c - class polyglot.ext.coffer.types.CofferSubstClassType_c.
-
- CofferSubstClassType_c(CofferTypeSystem, Position, ClassType, CofferSubst) -
Constructor for class polyglot.ext.coffer.types.CofferSubstClassType_c
-
- CofferSubstType - interface polyglot.ext.coffer.types.CofferSubstType.
-
- CofferSubst_c - class polyglot.ext.coffer.types.CofferSubst_c.
-
- CofferSubst_c(CofferTypeSystem, Map, Map) -
Constructor for class polyglot.ext.coffer.types.CofferSubst_c
-
- CofferSubst_c.ConstraintXform - class polyglot.ext.coffer.types.CofferSubst_c.ConstraintXform.
-
- CofferSubst_c.ConstraintXform() -
Constructor for class polyglot.ext.coffer.types.CofferSubst_c.ConstraintXform
-
- CofferTypeSystem - interface polyglot.ext.coffer.types.CofferTypeSystem.
-
- CofferTypeSystem_c - class polyglot.ext.coffer.types.CofferTypeSystem_c.
-
- CofferTypeSystem_c() -
Constructor for class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- CollectionUtil - class polyglot.util.CollectionUtil.
- Collection utilities.
- CollectionUtil() -
Constructor for class polyglot.util.CollectionUtil
-
- Command - interface ppg.cmds.Command.
-
- Compiler - class polyglot.frontend.Compiler.
- This is the main entry point for the compiler.
- Compiler(ExtensionInfo) -
Constructor for class polyglot.frontend.Compiler
- Initialize the compiler.
- Compiler(ExtensionInfo, ErrorQueue) -
Constructor for class polyglot.frontend.Compiler
- Initialize the compiler.
- CompoundResolver - class polyglot.types.CompoundResolver.
- An
CompoundResolver
resolves names using more than one
context. - CompoundResolver(TopLevelResolver, TopLevelResolver) -
Constructor for class polyglot.types.CompoundResolver
- Create a compound resolver.
- CompoundStmt - interface polyglot.ast.CompoundStmt.
- Any statement with sub-statements.
- ConcatenatedIterator - class polyglot.util.ConcatenatedIterator.
- ConcatenatedIterator
Overview:
This iterator wraps other iterators, and returns all their elements
in order.
- ConcatenatedIterator(Iterator, Iterator) -
Constructor for class polyglot.util.ConcatenatedIterator
- Constructs a new ConcatenatedIterator which yields all of the
elements of
, followed by all the elements of .
- ConcatenatedIterator(Iterator[]) -
Constructor for class polyglot.util.ConcatenatedIterator
- Constructs a new ConcatenatedIterator which yields every element, in
order, of every element of the array iters, in order.
- ConcatenatedIterator(Collection) -
Constructor for class polyglot.util.ConcatenatedIterator
- Constructs a new ConcatenatedIterator which yields every element, in
order, of every element of the collection iters, in order.
- Conditional - interface polyglot.ast.Conditional.
- A
Conditional
is a representation of a Java ternary
expression. - Conditional(Position, Expr, Expr, Expr) -
Method in interface polyglot.ast.NodeFactory
-
- Conditional(Position, Expr, Expr, Expr) -
Method in class polyglot.ext.jl.ast.NodeFactory_c
-
- Conditional_c - class polyglot.ext.jl.ast.Conditional_c.
- 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
-
- ConstArrayType - interface polyglot.ext.carray.types.ConstArrayType.
- A
ConstArrayType
represents an array of base java types,
whose elements cannot change after initialization. - ConstArrayTypeNode(Position, TypeNode) -
Method in interface polyglot.ext.carray.ast.CarrayNodeFactory
-
- ConstArrayTypeNode(Position, TypeNode) -
Method in class polyglot.ext.carray.ast.CarrayNodeFactory_c
-
- ConstArrayTypeNode - interface polyglot.ext.carray.ast.ConstArrayTypeNode.
- A
ConstArrayTypeNode
is a type node for a non-canonical
const array type. - ConstArrayTypeNode_c - class polyglot.ext.carray.ast.ConstArrayTypeNode_c.
- A
ConstArrayTypeNode
is a type node for a non-canonical
const array type. - ConstArrayTypeNode_c(Position, TypeNode) -
Constructor for class polyglot.ext.carray.ast.ConstArrayTypeNode_c
-
- ConstArrayType_c - class polyglot.ext.carray.types.ConstArrayType_c.
- A
ConstArrayType
represents an array of base java types,
whose elements cannot change after initialization. - ConstArrayType_c() -
Constructor for class polyglot.ext.carray.types.ConstArrayType_c
- Used for deserializing types.
- ConstArrayType_c(TypeSystem, Position, Type, boolean) -
Constructor for class polyglot.ext.carray.types.ConstArrayType_c
-
- Constant - class ppg.parse.Constant.
- CUP generated class containing symbol constants.
- Constant() -
Constructor for class ppg.parse.Constant
-
- ConstantFolder - class polyglot.visit.ConstantFolder.
- Visitor which performs constant folding.
- ConstantFolder(TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstantFolder
-
- ConstraintChecker - class polyglot.ext.polyj.types.ConstraintChecker.
- Helper class that encapsulates the logic for constraint
checking.
- ConstraintChecker(PolyJClassType, List, Context, PolyJTypeSystem) -
Constructor for class polyglot.ext.polyj.types.ConstraintChecker
- Construct a ConstraintChecker.
- ConstraintException - exception polyglot.ext.polyj.types.ConstraintException.
- Thrown by the ConstraintChecker if any constraints
are unsatisfied.
- ConstraintException() -
Constructor for class polyglot.ext.polyj.types.ConstraintException
-
- ConstraintException(List) -
Constructor for class polyglot.ext.polyj.types.ConstraintException
-
- ConstructorCall - interface polyglot.ast.ConstructorCall.
- 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(Position, ConstructorCall.Kind, Expr, List) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ConstructorCall.Kind - class polyglot.ast.ConstructorCall.Kind.
- Constructor call kind: either "super" or "this".
- ConstructorCall.Kind(String) -
Constructor for class polyglot.ast.ConstructorCall.Kind
-
- ConstructorCallChecker - class polyglot.visit.ConstructorCallChecker.
- Visitor which ensures that constructor calls are not recursive.
- ConstructorCallChecker(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ConstructorCallChecker
-
- ConstructorCall_c - class polyglot.ext.jl.ast.ConstructorCall_c.
- 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
-
- ConstructorConstraint - interface polyglot.ext.polyj.ast.ConstructorConstraint.
-
- ConstructorConstraint(Position, Flags, String, List, List) -
Method in interface polyglot.ext.polyj.ast.PolyJNodeFactory
-
- ConstructorConstraint(Position, Flags, String, List, List) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ConstructorConstraint_c - class polyglot.ext.polyj.ast.ConstructorConstraint_c.
-
- ConstructorConstraint_c(Position, Flags, String, List, List) -
Constructor for class polyglot.ext.polyj.ast.ConstructorConstraint_c
-
- ConstructorDecl - interface polyglot.ast.ConstructorDecl.
- 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(Position, Flags, String, List, List, Block) -
Method in class polyglot.ext.polyj.ast.PolyJNodeFactory_c
-
- ConstructorDecl_c - class polyglot.ext.jl.ast.ConstructorDecl_c.
- 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 - interface polyglot.types.ConstructorInstance.
- A
ConstructorInstance
contains type information for a
constructor. - ConstructorInstance_c - class polyglot.ext.jl.types.ConstructorInstance_c.
- 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
-
- Context - interface polyglot.types.Context.
- A context represents a stack of scopes used for looking up types, methods,
and variables.
- ContextVisitor - class polyglot.visit.ContextVisitor.
- A visitor which maintains a context throughout the visitor's pass.
- ContextVisitor(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.visit.ContextVisitor
-
- Context_c - class polyglot.ext.jl.types.Context_c.
- 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 polyglot.ext.jl.types.Context_c.Kind.
-
- Context_c.Kind(String) -
Constructor for class polyglot.ext.jl.types.Context_c.Kind
-
- Continue(Position) -
Method in interface polyglot.ast.NodeFactory
-
- Continue(Position, String) -
Method in interface polyglot.ast.NodeFactory
-
- Continue(Position) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Continue(Position, String) -
Method in class polyglot.ext.jl.ast.AbstractNodeFactory_c
-
- Copy - interface polyglot.util.Copy.
- Interface used to copy objects.
- CovPolyJNodeFactory - class polyglot.ext.covpolyj.CovPolyJNodeFactory.
-
- CovPolyJNodeFactory() -
Constructor for class polyglot.ext.covpolyj.CovPolyJNodeFactory
-
- CovPolyJTypeSystem - class polyglot.ext.covpolyj.CovPolyJTypeSystem.
-
- CovPolyJTypeSystem() -
Constructor for class polyglot.ext.covpolyj.CovPolyJTypeSystem
-
- CovarRetClassBody_c - class polyglot.ext.covarRet.CovarRetClassBody_c.
- A
ClassBody
represents the body of a class or interface
declaration or the body of an anonymous class. - CovarRetClassBody_c(Position, List) -
Constructor for class polyglot.ext.covarRet.CovarRetClassBody_c
-
- CovarRetMethodInstance_c - class polyglot.ext.covarRet.CovarRetMethodInstance_c.
- A
MethodInstance
represents the type information for a Java
method. - CovarRetMethodInstance_c() -
Constructor for class polyglot.ext.covarRet.CovarRetMethodInstance_c
- Used for deserializing types.
- CovarRetMethodInstance_c(TypeSystem, Position, ReferenceType, Flags, Type, String, List, List) -
Constructor for class polyglot.ext.covarRet.CovarRetMethodInstance_c
-
- CovarRetNodeFactory - class polyglot.ext.covarRet.CovarRetNodeFactory.
-
- CovarRetNodeFactory() -
Constructor for class polyglot.ext.covarRet.CovarRetNodeFactory
-
- CovarRetRewriter - class polyglot.ext.covarRet.CovarRetRewriter.
- This visitor rewrites the AST to translate from Java with covariant returns
to standard Java.
- CovarRetRewriter(Job, TypeSystem, NodeFactory) -
Constructor for class polyglot.ext.covarRet.CovarRetRewriter
-
- CovarRetTypeSystem - class polyglot.ext.covarRet.CovarRetTypeSystem.
-
- CovarRetTypeSystem() -
Constructor for class polyglot.ext.covarRet.CovarRetTypeSystem
-
- CovopNodeFactory - class polyglot.ext.covop.CovopNodeFactory.
-
- CovopNodeFactory() -
Constructor for class polyglot.ext.covop.CovopNodeFactory
-
- CovopTypeSystem - class polyglot.ext.covop.CovopTypeSystem.
-
- CovopTypeSystem() -
Constructor for class polyglot.ext.covop.CovopTypeSystem
-
- CupParser - class polyglot.frontend.CupParser.
- A parser implemented with a Cup generated-parser.
- CupParser(lr_parser, Source, ErrorQueue) -
Constructor for class polyglot.frontend.CupParser
-
- c -
Variable in class polyglot.ext.jl.ast.Disamb_c
-
- cache -
Variable in class polyglot.ext.param.types.Subst_c
- Cache of types.
- cache -
Variable in class polyglot.util.TypeInputStream
-
- cachePackage(Package) -
Method in class polyglot.types.CachingResolver
-
- cachedFind(String) -
Method in class polyglot.types.ImportTable
- Find a type by name, using the cache and the outer resolver,
but not the import table.
- callValid(List) -
Method in class polyglot.ext.jl.types.ProcedureInstance_c
- Returns true if a call can be made with the given argument types.
- callValid(ProcedureInstance, List) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- callValid(List) -
Method in interface polyglot.types.ProcedureInstance
- Returns true if the procedure can be called with the given arguments.
- callValid(ProcedureInstance, List) -
Method in interface polyglot.types.TypeSystem
- Return true if
pi
can be called with
actual parameters of types actualTypes
.
- callValidImpl(List) -
Method in class polyglot.ext.jl.types.ProcedureInstance_c
- Returns true if a call can be made with the given argument types.
- callValidImpl(List) -
Method in interface polyglot.types.ProcedureInstance
- Returns true if the procedure can be called with the given arguments.
- canCoerceToString(Type, Context) -
Method in class polyglot.ext.jl.types.TypeSystem_c
- Returns true iff the type t can be coerced to a String in the given
Context.
- canCoerceToString(Type, Context) -
Method in interface polyglot.types.TypeSystem
- Returns true iff the type t can be coerced to a String in the given
Context.
- canOverride(MethodInstance, MethodInstance) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- canOverride(MethodInstance) -
Method in class polyglot.ext.jl.types.MethodInstance_c
-
- canOverride(MethodInstance, MethodInstance) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- canOverride(MethodInstance, MethodInstance) -
Method in class polyglot.ext.pure.types.PureTypeSystem_c
-
- canOverride(MethodInstance) -
Method in interface polyglot.types.MethodInstance
- Return true if this method can override
mi
, false otherwise.
- canOverride(MethodInstance, MethodInstance) -
Method in interface polyglot.types.TypeSystem
- Return true if
mi
can override mj
.
- canOverrideImpl(MethodInstance, boolean) -
Method in class polyglot.ext.coffer.types.CofferMethodInstance_c
-
- canOverrideImpl(MethodInstance) -
Method in class polyglot.ext.covarRet.CovarRetMethodInstance_c
-
- canOverrideImpl(MethodInstance) -
Method in class polyglot.ext.jl.types.MethodInstance_c
- Leave this method in for historic reasons, to make sure that extensions
modify their code correctly.
- canOverrideImpl(MethodInstance, boolean) -
Method in class polyglot.ext.jl.types.MethodInstance_c
-
- canOverrideImpl(MethodInstance, boolean) -
Method in interface polyglot.types.MethodInstance
- Return true if this method can override
mi
.
- castTo() -
Method in class polyglot.ext.polyj.util.ReturnTypeMutator
- Return the type to which a call to the method should
be casted.
- castType() -
Method in interface polyglot.ast.Cast
- The type to cast to.
- castType(TypeNode) -
Method in interface polyglot.ast.Cast
- Set the type to cast to.
- castType -
Variable in class polyglot.ext.jl.ast.Cast_c
-
- castType() -
Method in class polyglot.ext.jl.ast.Cast_c
- Get the cast type of the expression.
- castType(TypeNode) -
Method in class polyglot.ext.jl.ast.Cast_c
- Set the cast type of the expression.
- catchBlocks() -
Method in interface polyglot.ast.Try
- List of catch blocks.
- catchBlocks(List) -
Method in interface polyglot.ast.Try
- Set the list of catch blocks.
- catchBlocks -
Variable in class polyglot.ext.jl.ast.Try_c
-
- catchBlocks() -
Method in class polyglot.ext.jl.ast.Try_c
- Get the catch blocks of the statement.
- catchBlocks(List) -
Method in class polyglot.ext.jl.ast.Try_c
- Set the catch blocks of the statement.
- catchErrors(Node) -
Method in class polyglot.visit.ErrorHandlingVisitor
- Return true if we should catch errors thrown when visiting the node.
- catchType() -
Method in interface polyglot.ast.Catch
- The type of the catch's formal.
- catchType() -
Method in class polyglot.ext.jl.ast.Catch_c
- Get the catchType of the catch block.
- cfg -
Static variable in class polyglot.main.Report
- Report topics understood by the base compiler.
- charValue() -
Method in class polyglot.ext.jl.ast.Expr_c
-
- charValue() -
Method in class polyglot.ext.op.runtime.Character
-
- charValue() -
Method in class polyglot.ext.pao.runtime.Character
-
- charValue() -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
- check(FlowGraph, Term, DataFlow.Item, Map) -
Method in class polyglot.ext.coffer.visit.KeyChecker
-
- check(String) -
Method in class polyglot.types.CachingResolver
- Check if a type object is in the cache, returning null if not.
- check(boolean) -
Static method in class polyglot.util.Assert
- static void check(boolean ok)
Throws an error if not
.
- check(String, boolean) -
Static method in class polyglot.util.Assert
- static void check(String condition, boolean ok)
Asserts that
holds -- in other words, that is true.
- check(List, Class) -
Static method in class polyglot.util.TypedList
- Throws an UnsupportedOperationException if any member of
may not be cast to class .
- check(FlowGraph, Term, DataFlow.Item, Map) -
Method in class polyglot.visit.DataFlow
- Check that the term n satisfies whatever properties this
dataflow is checking for.
- check(FlowGraph, Term, DataFlow.Item, Map) -
Method in class polyglot.visit.ExitChecker
-
- check(FlowGraph, Term, DataFlow.Item, Map) -
Method in class polyglot.visit.InitChecker
- Check that the conditions of initialization are not broken.
- check(FlowGraph, Term, DataFlow.Item, Map) -
Method in class polyglot.visit.ReachChecker
-
- checkAccessFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkAccessFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal access flags.
- checkClassConformance(ClassType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
- Assert that
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.
- checkClassConformance(ClassType) -
Method in interface polyglot.types.TypeSystem
- Assert that
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.
- checkCompatibleSignatures(ParamType, ClassType, PolyJTypeWrapper) -
Method in class polyglot.ext.polyj.types.ConstraintChecker
- Checks whether implementingType has methods that match the
signature (including return type and exception types)
of constraining type.
- checkCompilerVersion(String) -
Method in class polyglot.types.LoadedClassResolver
- Compare the encoded type's version against the loader's version.
- checkConsistency(Context) -
Method in class polyglot.ext.jl.ast.Call_c
-
- checkConsistency(Context) -
Method in class polyglot.ext.jl.ast.Field_c
-
- checkConstraints() -
Method in class polyglot.ext.polyj.types.ConstraintChecker
- Check whether the arguments provided in the constructor
can be used to satisfy the constraints of the polymorphic type.
- checkConstraints(PolyJClassType, List, Context) -
Method in interface polyglot.ext.polyj.types.PolyJTypeSystem
- check whether the given types can be used to satisfy
the constraints of the given polymorphic type.
- checkConstraints(PolyJClassType, List, Context) -
Method in class polyglot.ext.polyj.types.PolyJTypeSystem_c
- Check whether the arguments provided in the constructor
can be used to satisfy the constraints of the polymorphic type.
- checkConstructorFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkConstructorFlags(Flags) -
Method in class polyglot.ext.pure.types.PureTypeSystem_c
-
- checkConstructorFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal constructor flags.
- checkCycles(ReferenceType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkCycles(ReferenceType, ReferenceType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkCycles(ReferenceType) -
Method in interface polyglot.types.TypeSystem
- Assert that
t
has no cycles in the super type+nested class
graph starting at t
.
- checkExceptions(ProcedureInstance, ProcedureInstance, ClassType, ParamType) -
Method in class polyglot.ext.polyj.types.ConstraintChecker
- Verify that the exception got throws are compatible with those
that want throws: for each type g in got.throwTypes(), there is
a type w in want.throwTypes() such that g <: w
- checkFieldAssign(FlowGraph, FieldAssign, InitChecker.DataFlowItem, InitChecker.DataFlowItem) -
Method in class polyglot.visit.InitChecker
- Check that the assignment to a field is correct.
- checkFieldFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkFieldFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal field flags.
- checkFieldInstanceConstant() -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.AssignExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in interface polyglot.ext.coffer.extension.CofferExt
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.CofferExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.FreeExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.LocalDeclExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.LocalExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.NewExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.ProcedureCallExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.ProcedureDeclExt_c
-
- checkHeldKeys(KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.SpecialExt_c
-
- checkHeldKeysThrowConstraint(ThrowConstraint, KeySet, KeySet) -
Method in class polyglot.ext.coffer.extension.ProcedureDeclExt_c
-
- checkInitializerFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkInitializerFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal initializer flags.
- checkInstArgs(PolyJClassType, List) -
Method in interface polyglot.ext.polyj.types.PolyJTypeSystem
- Check that instArgs has the correct number and type of arguments to
instantiate instType.
- checkInstArgs(PolyJClassType, List) -
Method in class polyglot.ext.polyj.types.PolyJTypeSystem_c
- Check that the we have the correct number and type of arguments.
- checkInstantiation(Position, PClass, List) -
Method in class polyglot.ext.param.types.ParamTypeSystem_c
- Check that an instantiation of a parametric type on a list of actual
parameters is legal.
- checkLocal(FlowGraph, Local, InitChecker.DataFlowItem, InitChecker.DataFlowItem) -
Method in class polyglot.visit.InitChecker
- Check that the local variable
l
is used correctly.
- checkLocalAssign(FlowGraph, LocalAssign, InitChecker.DataFlowItem, InitChecker.DataFlowItem) -
Method in class polyglot.visit.InitChecker
- Check that the assignment to a local variable is correct.
- checkLocalClassFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkLocalClassFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal local class flags.
- checkLocalFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkLocalFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal local variable flags.
- checkLocalsUsedByInnerClass(FlowGraph, ClassBody, Set, InitChecker.DataFlowItem, InitChecker.DataFlowItem) -
Method in class polyglot.visit.InitChecker
- Check that the set of
LocalInstance
s
localsUsed
, which is the set of locals used in the inner
class declared by cb
are initialized before the class declaration.
- checkMemberClassFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkMemberClassFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal member class flags.
- checkMethodFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkMethodFlags(Flags) -
Method in class polyglot.ext.pure.types.PureTypeSystem_c
-
- checkMethodFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal method flags.
- checkNonStaticFinalFieldsInit(ClassBody) -
Method in class polyglot.visit.InitChecker
- Check that each non static final field has been initialized exactly once,
taking into account the fact that constructors may call other
constructors.
- checkOverride(MethodInstance) -
Method in class polyglot.ext.jl.types.MethodInstance_c
-
- checkOverride(MethodInstance, MethodInstance) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkOverride(MethodInstance) -
Method in interface polyglot.types.MethodInstance
- Return true if this method can override
mi
, throws
a SemanticException otherwise.
- checkOverride(MethodInstance, MethodInstance) -
Method in interface polyglot.types.TypeSystem
- Throw a SemanticException if
mi
cannot override
mj
.
- checkReachability(Term) -
Method in class polyglot.visit.ReachChecker
-
- checkStaticFinalFieldsInit(ClassBody) -
Method in class polyglot.visit.InitChecker
- Check that each static final field is initialized exactly once.
- checkTopLevelClassFlags(Flags) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- checkTopLevelClassFlags(Flags) -
Method in interface polyglot.types.TypeSystem
- Assert if the flags
f
are legal top-level class flags.
- checkType(String) -
Method in class polyglot.types.CachingResolver
- Check if a type is in the cache, returning null if not.
- child -
Variable in class ppg.spec.Spec
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in interface polyglot.ast.Node
- Get the expected type of a child expression of
this
.
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.ArrayAccess_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.ArrayInit_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Assert_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Assign_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Binary_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Call_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Case_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Cast_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Conditional_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.ConstructorCall_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Do_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Eval_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.FieldDecl_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Field_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.For_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.If_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Instanceof_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.LocalDecl_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.NewArray_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.New_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Node_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Return_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Switch_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Synchronized_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Throw_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.Unary_c
-
- childExpectedType(Expr, AscriptionVisitor) -
Method in class polyglot.ext.jl.ast.While_c
-
- ci -
Variable in class polyglot.ext.jl.ast.ConstructorCall_c
-
- ci -
Variable in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- ci -
Variable in class polyglot.ext.jl.ast.New_c
-
- classAccessible(ClassType, Context) -
Method in class polyglot.ext.jl.types.TypeSystem_c
- True if the class targetClass accessible from the context.
- classAccessible(ClassType, ClassType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
- True if the class targetClass accessible from the body of class contextClass.
- classAccessible(ClassType, Context) -
Method in interface polyglot.types.TypeSystem
- Checks whether a class can be accessed from Context context.
- classAccessibleFromPackage(ClassType, Package) -
Method in class polyglot.ext.jl.types.TypeSystem_c
- True if the class targetClass accessible from the package pkg.
- classAccessibleFromPackage(ClassType, Package) -
Method in interface polyglot.types.TypeSystem
- Checks whether a top-level or member class can be accessed from the
package pkg.
- classContextResolver(ClassType) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- classContextResolver(ClassType) -
Method in interface polyglot.types.TypeSystem
- Get a resolver for looking up a type in a class context.
- classImports -
Variable in class polyglot.types.ImportTable
- List of imports which will be lazily added to the table.
- classImports() -
Method in class polyglot.types.ImportTable
- List the classes explicitly imported.
- classSource(String) -
Method in class polyglot.frontend.SourceLoader
- Load the source file for the given class name using the source path.
- classType() -
Method in class polyglot.types.ClassContextResolver
- The class in whose context we look.
- classpath -
Variable in class polyglot.main.Options
-
- classpath() -
Method in class polyglot.types.reflect.ClassPathLoader
-
- clazz(ClassType) -
Method in interface polyglot.ext.param.types.MuPClass
- Destructively update the clazz.
- clazz -
Variable in class polyglot.ext.param.types.MuPClass_c
-
- clazz() -
Method in class polyglot.ext.param.types.MuPClass_c
-
- clazz(ClassType) -
Method in class polyglot.ext.param.types.MuPClass_c
-
- clazz() -
Method in interface polyglot.ext.param.types.PClass
- The class associated with
this
.
- clean(List) -
Method in class polyglot.visit.CodeCleaner
- Performs some trivial dead code elimination on a list of statements.
- clear(Flags) -
Method in class polyglot.types.Flags
- Create new flags with the flags in
other
cleared.
- clear() -
Method in class polyglot.util.NestedMap
-
- clear() -
Method in class polyglot.util.NilMap
-
- clear() -
Method in class polyglot.util.SubtypeSet
- Removes all elements from the set
- clear() -
Method in class polyglot.util.TypedList
-
- clearAbstract() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the abstract
flag clear.
- clearFinal() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the final
flag clear.
- clearInterface() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the interface
flag clear.
- clearLValue() -
Method in interface polyglot.ext.polyj.extension.PolyJExt
-
- clearLValue() -
Method in class polyglot.ext.polyj.extension.PolyJExt_c
-
- clearNative() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the native
flag clear.
- clearPrivate() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the private
flag clear.
- clearProtected() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the protected
flag clear.
- clearPublic() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the public
flag clear.
- clearStatic() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the static
flag clear.
- clearStrictFP() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the strictfp
flag clear.
- clearSynchronized() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the
synchronized
flag clear.
- clearTransient() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the transient
flag clear.
- clearValueIgnored() -
Method in interface polyglot.ext.polyj.extension.PolyJExt
-
- clearValueIgnored() -
Method in class polyglot.ext.polyj.extension.PolyJExt_c
-
- clearVolatile() -
Method in class polyglot.types.Flags
- Return a copy of this
this
with the volatile
flag clear.
- clinitNeeded(Translator, ClassType) -
Method in class polyglot.ext.polyj.ast.PolyJClassBody_c
-
- clinitNeeded(ClassType) -
Method in class polyglot.ext.polyj.visit.PolyJTranslator
-
- clone() -
Method in class polyglot.ext.polyj.types.proxy.ArrayProxy
-
- clone() -
Method in class polyglot.ext.polyj.types.proxy.BoolProxy
-
- clone() -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
- clone() -
Method in class polyglot.util.TypedList
-
- clone() -
Method in class ppg.atoms.GrammarPart
-
- clone() -
Method in class ppg.atoms.Nonterminal
-
- clone() -
Method in class ppg.atoms.Precedence
-
- clone() -
Method in class ppg.atoms.PrecedenceModifier
-
- clone() -
Method in class ppg.atoms.Production
-
- clone() -
Method in class ppg.atoms.SemanticAction
-
- clone() -
Method in class ppg.atoms.SymbolList
-
- clone() -
Method in class ppg.atoms.Terminal
-
- clone() -
Method in class ppg.code.ActionCode
-
- clone() -
Method in class ppg.code.Code
-
- clone() -
Method in class ppg.code.InitCode
-
- clone() -
Method in class ppg.code.ParserCode
-
- clone() -
Method in class ppg.code.ScanCode
-
- clone() -
Method in class ppg.spec.CUPSpec
-
- cloneMethod() -
Method in class polyglot.ext.jl.types.ArrayType_c
- Get the clone() method.
- cloneMethod() -
Method in interface polyglot.types.ArrayType
- The array's clone() method.
- close() -
Method in class polyglot.frontend.FileSource
- Close the source file.
- coalesce() -
Method in class ppg.spec.CUPSpec
-
- coalesce() -
Method in class ppg.spec.PPGSpec
-
- coalesce() -
Method in class ppg.spec.Spec
- Combine the chain of inheritance into one CUP spec
- code -
Variable in class polyglot.ext.jl.types.Context_c
-
- code -
Variable in class polyglot.visit.ExitChecker
-
- codeInstance() -
Method in interface polyglot.ast.CodeDecl
- The CodeInstance of the method, constructor, or initializer.
- codeInstance() -
Method in class polyglot.ext.jl.ast.ConstructorDecl_c
-
- codeInstance() -
Method in class polyglot.ext.jl.ast.Initializer_c
-
- codeInstance() -
Method in class polyglot.ext.jl.ast.MethodDecl_c
-
- coffer -
Static variable in class polyglot.ext.coffer.Topics
-
- cofferConstructorInstance(Position, ClassType, Flags, List, KeySet, KeySet, List) -
Method in interface polyglot.ext.coffer.types.CofferTypeSystem
-
- cofferConstructorInstance(Position, ClassType, Flags, List, KeySet, KeySet, List) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- cofferMethodInstance(Position, ReferenceType, Flags, Type, String, List, KeySet, KeySet, List) -
Method in interface polyglot.ext.coffer.types.CofferTypeSystem
-
- cofferMethodInstance(Position, ReferenceType, Flags, Type, String, List, KeySet, KeySet, List) -
Method in class polyglot.ext.coffer.types.CofferTypeSystem_c
-
- coinFlip() -
Method in class polyglot.visit.NodeScrambler
-
- column() -
Method in class polyglot.util.Position
-
- combine(DataFlow.Item, DataFlow.Item) -
Method in class polyglot.visit.DataFlow.ConditionNavigator
- Deprecated. Combine two
Item
s together, when the information
contained in both items is true.
- compare(Object, Object) -
Method in class polyglot.ext.jl.types.TypeSystem_c.MostSpecificComparator
-
- compareTo(Numeric) -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
- compareTo(ByteWrap) -
Method in class polyglot.ext.polyj.wrappers.ByteWrap
-
- compareTo(CharWrap) -
Method in class polyglot.ext.polyj.wrappers.CharWrap
-
- compareTo(DoubleWrap) -
Method in class polyglot.ext.polyj.wrappers.DoubleWrap
-
- compareTo(FloatWrap) -
Method in class polyglot.ext.polyj.wrappers.FloatWrap
-
- compareTo(IntWrap) -
Method in class polyglot.ext.polyj.wrappers.IntWrap
-
- compareTo(LongWrap) -
Method in class polyglot.ext.polyj.wrappers.LongWrap
-
- compareTo(ShortWrap) -
Method in class polyglot.ext.polyj.wrappers.ShortWrap
-
- compareType() -
Method in interface polyglot.ast.Instanceof
- Get the type to compare against.
- compareType(TypeNode) -
Method in interface polyglot.ast.Instanceof
- Set the type to compare against.
- compareType -
Variable in class polyglot.ext.jl.ast.Instanceof_c
-
- compareType() -
Method in class polyglot.ext.jl.ast.Instanceof_c
- Get the type to be compared against.
- compareType(TypeNode) -
Method in class polyglot.ext.jl.ast.Instanceof_c
- Set the type to be compared against.
- compile(Collection) -
Method in class polyglot.frontend.Compiler
- Compile all the files listed in the set of strings
source
.
- compiler -
Variable in class polyglot.frontend.AbstractExtensionInfo
-
- compiler() -
Method in class polyglot.frontend.AbstractExtensionInfo
-
- compiler() -
Method in interface polyglot.frontend.ExtensionInfo
-
- compiler() -
Method in class polyglot.frontend.Job
-
- compilerName() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- compilerName() -
Method in class polyglot.ext.jl.ExtensionInfo
-
- compilerName() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- compilerName() -
Method in class polyglot.ext.polyj.ExtensionInfo
-
- compilerName() -
Method in class polyglot.ext.pragma.ExtensionInfo
-
- compilerName() -
Method in class polyglot.ext.pure.ExtensionInfo
-
- compilerName() -
Method in interface polyglot.frontend.ExtensionInfo
- The name of the compiler for usage messages
- compilerVersion(String) -
Method in class polyglot.types.reflect.ClassFile
- Get the encoded compiler version used to compile the source.
- completed() -
Method in class polyglot.frontend.Job
- Return true if all of the passes been completed.
- completed(Pass.ID) -
Method in class polyglot.frontend.Job
- Return true if the pass
id
has been completed.
- completedPasses() -
Method in class polyglot.frontend.Job
- Return a list of passes that have been completed so far.
- composeDels(JL, JL) -
Method in class polyglot.ext.jl.ast.AbstractDelFactory_c
- Compose two delegates together.
- composeExts(Ext, Ext) -
Method in class polyglot.ext.jl.ast.AbstractExtFactory_c
- Compose two extensions together.
- cond() -
Method in interface polyglot.ast.Assert
- The condition to check.
- cond(Expr) -
Method in interface polyglot.ast.Assert
- Set the condition to check.
- cond() -
Method in interface polyglot.ast.Conditional
- Get the condition to test.
- cond(Expr) -
Method in interface polyglot.ast.Conditional
- Set the condition to test.
- cond(Expr) -
Method in interface polyglot.ast.Do
- Set the condition of the do statement.
- cond(Expr) -
Method in interface polyglot.ast.For
- Set the loop condition
- cond() -
Method in interface polyglot.ast.If
- Get the if's condition.
- cond(Expr) -
Method in interface polyglot.ast.If
- Set the if's condition.
- cond() -
Method in interface polyglot.ast.Loop
- Loop condition
- cond(Expr) -
Method in interface polyglot.ast.While
- Set the loop condition.
- cond -
Variable in class polyglot.ext.jl.ast.Assert_c
-
- cond() -
Method in class polyglot.ext.jl.ast.Assert_c
- Get the condition to check.
- cond(Expr) -
Method in class polyglot.ext.jl.ast.Assert_c
- Set the condition to check.
- cond -
Variable in class polyglot.ext.jl.ast.Conditional_c
-
- cond() -
Method in class polyglot.ext.jl.ast.Conditional_c
- Get the conditional of the expression.
- cond(Expr) -
Method in class polyglot.ext.jl.ast.Conditional_c
- Set the conditional of the expression.
- cond -
Variable in class polyglot.ext.jl.ast.Do_c
-
- cond() -
Method in class polyglot.ext.jl.ast.Do_c
- Get the conditional of the statement.
- cond(Expr) -
Method in class polyglot.ext.jl.ast.Do_c
- Set the conditional of the statement.
- cond -
Variable in class polyglot.ext.jl.ast.For_c
-
- cond() -
Method in class polyglot.ext.jl.ast.For_c
- Loop condition
- cond(Expr) -
Method in class polyglot.ext.jl.ast.For_c
- Set the conditional of the statement.
- cond -
Variable in class polyglot.ext.jl.ast.If_c
-
- cond() -
Method in class polyglot.ext.jl.ast.If_c
- Get the conditional of the statement.
- cond(Expr) -
Method in class polyglot.ext.jl.ast.If_c
- Set the conditional of the statement.
- cond -
Variable in class polyglot.ext.jl.ast.While_c
-
- cond() -
Method in class polyglot.ext.jl.ast.While_c
- Get the conditional of the statement.
- cond(Expr) -
Method in class polyglot.ext.jl.ast.While_c
- Set the conditional of the statement.
- 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
-
- 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.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.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.
- constArrayOf(Type) -
Method in class polyglot.ext.carray.types.CarrayTypeSystem
-
- constArrayOf(Position, Type) -
Method in class polyglot.ext.carray.types.CarrayTypeSystem
-
- constArrayOf(Type, int) -
Method in class polyglot.ext.carray.types.CarrayTypeSystem
-
- constArrayOf(Position, Type, int) -
Method in class polyglot.ext.carray.types.CarrayTypeSystem
-
- 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.
- constrainedClass() -
Method in interface polyglot.ext.polyj.types.ParamType
- Returns the PJCT this parameter constrains, or null
if the parameter constrains something other than a PJCT.
- constrainedClass() -
Method in class polyglot.ext.polyj.types.ParamType_c
-
- constrainedType() -
Method in interface polyglot.ext.polyj.types.ParamType
- Returns the type this parameter constrains.
- constrainedType -
Variable in class polyglot.ext.polyj.types.ParamType_c
- The type this parameter constrains.
- constrainedType() -
Method in class polyglot.ext.polyj.types.ParamType_c
-
- 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
-
- constraints() -
Method in interface polyglot.ext.polyj.ast.ClassConstraint
-
- constraints -
Variable in class polyglot.ext.polyj.ast.ClassConstraint_c
-
- constraints() -
Method in class polyglot.ext.polyj.ast.ClassConstraint_c
-
- constraints() -
Method in interface polyglot.ext.polyj.ast.PolyJClassDecl
-
- constraints(List) -
Method in interface polyglot.ext.polyj.ast.PolyJClassDecl
-
- constraints -
Variable in class polyglot.ext.polyj.ast.PolyJClassDecl_c
-
- constraints() -
Method in class polyglot.ext.polyj.ast.PolyJClassDecl_c
-
- constraints(List) -
Method in class polyglot.ext.polyj.ast.PolyJClassDecl_c
-
- constraints() -
Method in interface polyglot.ext.polyj.ast.PolyJConstructorDecl
-
- constraints(List) -
Method in interface polyglot.ext.polyj.ast.PolyJConstructorDecl
-
- constraints -
Variable in class polyglot.ext.polyj.ast.PolyJConstructorDecl_c
-
- constraints() -
Method in class polyglot.ext.polyj.ast.PolyJConstructorDecl_c
-
- constraints(List) -
Method in class polyglot.ext.polyj.ast.PolyJConstructorDecl_c
-
- constraints() -
Method in interface polyglot.ext.polyj.ast.PolyJMethodDecl
-
- constraints(List) -
Method in interface polyglot.ext.polyj.ast.PolyJMethodDecl
-
- constraints -
Variable in class polyglot.ext.polyj.ast.PolyJMethodDecl_c
-
- constraints() -
Method in class polyglot.ext.polyj.ast.PolyJMethodDecl_c
-
- constraints(List) -
Method in class polyglot.ext.polyj.ast.PolyJMethodDecl_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.
- constructPostCompilerClasspath() -
Method in class polyglot.main.Options
-
- 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() -
Method in interface polyglot.ext.polyj.util.WhereBinding
- Returns the constructor instance for this constraint is it
is a constructor constraint, or null if it is a
method constraint.
- constructorInstance() -
Method in class polyglot.ext.polyj.util.WhereBinding_c
-
- constructorInstance(Position, ClassType, Flags, List, List) -
Method in interface polyglot.types.TypeSystem
- Create a constructor instance.
- 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 class polyglot.ext.polyj.types.InstType_c
-
- constructors -
Variable in class polyglot.ext.polyj.types.ParamType_c
-
- constructors() -
Method in class polyglot.ext.polyj.types.ParamType_c
-
- constructors() -
Method in interface polyglot.types.ClassType
- The class's constructors.
- 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
-
- containsSameProc(List, ProcedureInstance) -
Method in class polyglot.ext.polyj.util.WhereBinding_c
-
- 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 -
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.
- 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
-
- convertToProxies(List) -
Method in class polyglot.ext.polyj.types.ConstraintChecker
- Replace types with their proxies for instantiation checking.
- 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() -
Method in class polyglot.ext.polyj.extension.PolyJExt_c
-
- copy() -
Method in class polyglot.ext.polyj.visit.PreTranslator
-
- 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 .
- correspondingMethod(MethodInstance, ParamType, ClassType, PolyJTypeWrapper, Context) -
Method in interface polyglot.ext.polyj.types.PolyJTypeSystem
- Find the method in implementingType that has the
signature of paramMethod modulo substitutions done by
the wrapper, in the given context.
- correspondingMethod(MethodInstance, ParamType, ClassType, PolyJTypeWrapper, Context) -
Method in class polyglot.ext.polyj.types.PolyJTypeSystem_c
- find the method in implementingType that has the
signature of paramMethod modulo substitutions done by
the wrapper, in the given context.
- count -
Static variable in class polyglot.visit.FlattenVisitor
-
- count -
Variable in class polyglot.visit.InitChecker.InitCount
-
- createCFGBuilder(TypeSystem, FlowGraph) -
Method in class polyglot.visit.DataFlow
- Construct a CFGBuilder.
- 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) -
Method in class polyglot.ext.op.OPTypeSystem
-
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.pao.types.PaoTypeSystem_c
- Returns a new instance of
PaoParsedClassType_c
- createClassType(LazyClassInitializer, Source) -
Method in class polyglot.ext.polyj.types.PolyJTypeSystem_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 class polyglot.ext.polyj.types.PolyJTypeSystem_c
-
- createContext() -
Method in interface polyglot.types.TypeSystem
- Create a new context object for looking up variables, types, etc.
- createFlag(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.DataFlow
- Create an initial Item for the term node.
- 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.
- 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.carray.ExtensionInfo
-
- 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.op.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.polyj.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.pragma.ExtensionInfo
-
- createNodeFactory() -
Method in class polyglot.ext.pure.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
-
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- createPrimitive(PrimitiveType.Kind) -
Method in class polyglot.ext.op.OPTypeSystem
-
- 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.carcov.ExtensionInfo
- Create a type system, by composing type systems from each of the
extensions.
- createTypeSystem() -
Method in class polyglot.ext.carray.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.coffer.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.covarRet.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.covop.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.covpolyj.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.jl.ExtensionInfo
- Create the type system for this extension.
- createTypeSystem() -
Method in class polyglot.ext.op.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.pao.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.polyj.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.pragma.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.ext.pure.ExtensionInfo
-
- createTypeSystem() -
Method in class polyglot.frontend.AbstractExtensionInfo
- Create the type system for this extension.
- currCBI -
Variable in class polyglot.visit.InitChecker
-
- 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
-
- current_dir -
Static variable in class polyglot.frontend.SourceLoader
- The current user directory.
- cw -
Variable in class polyglot.visit.NodeScrambler
-
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.DelFactory
constructs delegates.do
statement.do
statement.double
CodeDecl
provided, and call
dataflow(FlowGraph)
.
Expr
provided, and call
dataflow(FlowGraph)
.
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.
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.
ancestor
.
ancestor
.
ancestor
.
true
if ancestor
is the
Object
type, as primitives are considered a
subtype of Object
.
ancestor
.
EOF
Symbol index.
EOF
Symbol index.
EOF
Symbol index.
Empty
is the class for a empty statement (i.e., ;
).EmptyPass
does nothing.Empty
is the class for a empty statement (;)
.java.lang.Error
ErrorQueue
handles outputing error messages.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
Expr
represents any Java expression.Expr
represents any Java expression.Ext
is the super type of all node extension objects.ExtFactory
constructs extensions.Ext
is the super type of all node extension objects.ExtensionInfo
for the Java language.ExtensionInfo
for the PolyJ language.ExtensionInfo
is the main interface for defining language
extensions.p
to q
.
p
to q
.
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
.
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
).
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
.
ErrorQueue
for the current Job.
error
Symbol index.
error
Symbol index.
error
Symbol index.
e
into a type, yielding a TypeNode
.
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.
Ext
object for a Eval
AST node.
Ext
object for a Expr
AST node.
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.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.Field
is an immutable representation of a Java field
access.Source
represents a source file.this
with the final
flag set.
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
.CollectionUtil
).Peer
is an occurance of an AST node in a flow graph.for
statement.ForInit
represents a statement that can be used as a
initializer in a "for" statement.ForUpdate
represents a statement that can be used as an
iterator in a "for" statement.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.subtype
, adding all polymorphic interfaces
to superInterfaces.
name
, or null.
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.
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.
constraint
, where param
is some
parameter also constrained by constraint
;
or null
if no such parameter can be found.
cd
.
initializer
.
Job
that pass p
has finished.
flags
modifing this node.
flags
modifing this node.
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.
confluence
on each of these three collections
as neccessary, and passes the results to
flow(Item, Item, Item, FlowGraph, Term, Set).
FlowGraphSource
.
this
.
Source
that this class type
was loaded from.
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
.pos
in the exception list.
pos
in the exception list.
pos
.
pos
.
inst
's adapter class for adapter
.
begin
and
end
inclusive.
Job
should go
through.
id
.
t
.
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.
c
's enclosing instances
have a where object field.
c
's enclosing instances
have a where object field.
instanceof
expressions.
if
statement.if
statement.Import
is an immutable representation of a Java
import
statement.ImportTable
is a type of ClassResolver
that
corresponds to a particular source file.Import
is an immutable representation of a Java
import
statement.Importable
is a type object that can be imported by another
type object.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.Initializer
is an immutable representation of an
initializer block in a Java class (which appears outside of any
method).InnerJob
encapsulates work done by the compiler for a
nested class.Inst
represents a Parse
of the form "P[T,U,...]".InstOrAccess
represents a Parse
of the form "P[T]"
where T may be a type or an expression.Instanceof
is an immutable representation of
the use of the instanceof
operator.Instanceof
is an immutable representation of
the use of the instanceof
operator.int
IntLit
represents a literal in Java of an integer
type.IntLit
represents a literal in Java of an integer
type.this
with the interface
flag set.
mi
implements, in no
specified order.
t
.
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.
ct
's interfaces.
ct
's interfaces.
ct
's member classes.
ct
's member classes.
ct
's methods.
ct
's methods.
this
.
t
on args
.
t
on args
.
other
are set.
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_c
is the super class of JL node delegates objects.Job
encapsulates work done by the compiler.JobExt
encapsulates work done by the compiler on behalf of
one source file.JL
object we dispatch to, by default, the node
itself, but possibly another delegate.
Job
that this Visitor is part of.
Source
s to SourceJob
s or to
the COMPLETED_JOB
object if the SourceJob previously existed
but has now finished.
Key
.Key
.KeySet
.Lit
represents any Java literal.Lit
represents any Java literal.LocalAssign
represents a Java assignment expression
to an array element.LocalAssign_c
represents a Java assignment expression
to a local variable.LocalDecl
is an immutable representation of the declaration
of a local variable.LocalInstance
contains type information for a local variable.LocalInstance
contains type information for a local variable.long
for
statement.while
statement.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.
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) -
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.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
-
- length() -
Method in interface polyglot.ext.polyj.util.ArrayAccessBinding
- Name of method for length of type.
- length -
Variable in class polyglot.ext.polyj.util.ArrayAccessBinding_c
-
- length() -
Method in class polyglot.ext.polyj.util.ArrayAccessBinding_c
-
- 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.
- less(Numeric) -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
- 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(String, Position, List) -
Method in class polyglot.ext.polyj.qq.QQ
-
- lexer -
Variable in class polyglot.parse.BaseParser
-
- li -
Variable in class polyglot.ext.jl.ast.Local_c
-
- limit -
Variable in class polyglot.util.AbstractErrorQueue
-
- line() -
Method in class polyglot.util.Position
-
- lineNumber() -
Method in class ppg.lex.LexicalError
-
- lineNumber() -
Method in class ppg.lex.Token
-
- lineNumber() -
Method in class 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) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- 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.
- loadFile(String) -
Method in class polyglot.types.LoadedClassResolver
- Load a class file for class
name
.
- 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.
- loader() -
Method in class polyglot.frontend.Compiler
- Get the compiler's class file loader.
- loader -
Static variable in class polyglot.main.Report
-
- 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(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() -
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(Position, Flags, Type, String) -
Method in class polyglot.ext.jl.types.TypeSystem_c
-
- localInstance(Position, Flags, Type, String) -
Method in interface polyglot.types.TypeSystem
- Create a local variable instance.
- 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.op.runtime.Long
-
- longValue() -
Method in class polyglot.ext.pao.runtime.Long
-
- longValue() -
Method in class polyglot.ext.polyj.types.proxy.Numeric
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.BoolWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.ByteWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.CharWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.DoubleWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.FloatWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.IntWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.LongWrap
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.Primitive
-
- longValue() -
Method in class polyglot.ext.polyj.wrappers.ShortWrap
-
*
, /
, or %
expression.
MemberInstance
is an entity that can be a member of
a class.MethodInstance
represents the type information for a Java
method.MethodInstance
represents the type information for a Java
method.t
to each element of l
.
c
that matches
param
; or null if no such parameter can be found.
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
.
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.
Name
represents a Parse
of the form "n | P.n".Named
is a TypeObject that is named.this
with the native
flag set.
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 }
.New
is an immutable representation of the use of the
new
operator to create a new instance of a class.Node
represents an AST node.NodeFactory
constructs AST nodes.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.Node
represents an AST node.null
.
null
.null
.java.lang.NullPointerException
NullType
represents the type of the Java null
literal.NullType
represents the type of the Java keyword
null
.expr
, where the
Item
at the start of evaluating the expression is
startingItem
.
NodeFactory
that this Visitor is using.
this
at the position of
clazz()
.
this
.
base
, using the same Position
as base
.
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 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.
PrimitiveType_c
represents a primitive type.PrimitiveType_c
represents a primitive type.java.lang.Object
java.lang.ArrayIndexOutOfBoundsException
c
that defines
field fi
.
c
that defines
field fi
.
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.PackageContextResolver
is responsible for looking up types
and packages in a package by name.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.PackageType
represents a package type.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.Parse
is a piece of syntax for which the AST representation
is considered ambiguous until more is known about its context.ParsedClassType
represents a class loaded from a source file.Pass
represents a compiler pass.PolyJArrayAccess
is identical to an
ArrayAccess
, except that accesses to
parametric arrays are translated as $AFetch$
methods.PolyJArrayAccess
is identical to an
ArrayAccess
, except that accesses to
parametric arrays are translated as $AFetch$
methods.NewArrayIndexExpression
, accessing an element of
Expr
array
at index index
.
PolyJArrayType
represents an array of base Java or
parametric types.PolyJArrayType_c
must implement translation
differently than ArrayType_c
because the innermost
dimension of an array with a parametric base type is represented
as Object
in the translation.PolyJAssign
represents a Java assignment expression.PolyJBinary
represents a Java binary expression,
an immutable pair of expressions combined with an op.PolyJBinary
represents a Java binary expression,
an immutable pair of expressions combined with an op.PolyJCall
is an immutable representation of a Java
method call.PolyJCall
is an immutable representation of a Java
method call.PolyJCall
.
PolyJCanonicalTypeNode
is a type node for a canonical type in Polyj.PolyJCanonicalTypeNode
is a type node for a canonical type in Polyj.PolyJCast
is an immutable representation of a casting
operation done in any PolyJ program.PolyJCast
is an immutable representation of a casting
operation done in any PolyJ program.PolyJConstructorCall
is an immutable representation of
a direct call to a constructor of a class in the form of super(...)
or this(...)
.PolyJConstructorCall
is an immutable representation of
a direct call to a constructor of a class in the form of super(...)
or this(...)
.PolyJConstructorCall
.
PolyJField
is an immutable representation of a
Java field access.PolyJFieldDecl
is an immutable
representation of a variable declaration, which consists of a type, one or
more variable names, and possible initilization expressions.PolyJFieldDecl
is an immutable
representation of a variable declaration, which consists of a type, one or
more variable names, and possible initilization expressions.PolyJFieldDecl
.
PolyJField
is an immutable representation of a
Java field access.PolyJField
.
PolyJInstanceof
is an immutable representation of
the use of the instanceof
operator in PolyJ programs.PolyJInstanceof
is an immutable representation of
the use of the instanceof
operator in PolyJ programs.PolyJInstanceof_c
.
PolyJLocalDecl
is an immutable
representation of a variable declaration, which consists of a type, one or
more variable names, and possible initilization expressions.PolyJLocalDecl
is an immutable
representation of a variable declaration, which consists of a type, one or
more variable names, and possible initilization expressions.PolyJLocalDecl
.
new
operator to create a new instance of a class.PolyJNewArray
is identical to a
NewArray
, except that parametric arrays are
translated as $ANew$
methodsNewArray
.
new
operator to create a new instance of a class.PolyJNew
.
actsFor
statement.Stmt
represents any Java statement.Prefix
represents any node that can be used as the
prefix of a Receiver
.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.this
with the private
flag set.
ProcedureCall
is an interface representing a
method or constructor call.ProcedureDecl
node.ProcedureInstance
contains the type information for a Java
procedure (either a method or a constructor).ProcedureInstance_c
contains the type information for a Java
procedure (either a method or a constructor).this
with the protected
flag set.
this
with the public
flag set.
Assign
node.Call
node.ConstructorCall
node.ConstructorDecl
node.MethodDecl
node.New
node.name
exists.
name
exists.
dir
.
c
is in.
c
is in.
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.
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
.java.lang.Object
).
CodeWriter
.
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.
- print_ast -
Variable in class polyglot.main.Options
- Pretty-print the AST after the following passes?
- print_order -
Static variable in class polyglot.types.Flags
- List of all flag bits in order in which they should be printed.
- 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() -
Method in interface polyglot.ext.polyj.util.WhereBinding
- Returns the procedure instance for this constraint.
- procedureInstance() -
Method in class polyglot.ext.polyj.util.WhereBinding_c
-
- 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 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
-
- prot_get() -
Method in interface polyglot.ext.polyj.util.StaticFieldBinding
-
- prot_get() -
Method in class polyglot.ext.polyj.util.StaticFieldBinding_c
-
- prot_set() -
Method in interface polyglot.ext.polyj.util.StaticFieldBinding
-
- prot_set() -
Method in class polyglot.ext.polyj.util.StaticFieldBinding_c
-
- pure -
Static variable in class polyglot.ext.pure.Topics
-
- 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 class polyglot.ext.polyj.types.PolyJContext_c
-
- 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
-
- pushParams(Iterator) -
Method in interface polyglot.ext.polyj.types.PolyJContext
-
- pushParams(Iterator) -
Method in class polyglot.ext.polyj.types.PolyJContext_c
-
- 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.
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
).ClassDecl
.
Expr
.
SourceFile
.
ClassMember
.
Stmt
.
TypeNode
.
<
, >
, <=
, and >=
.
Receiver
represents any node that can be used as the
receiver of a method or of a field access.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.Resolver
is responsible for looking up types and
packages by name.Return
represents a return
statement in Java.Return
represents a return
statement in Java.java.lang.RuntimeException
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
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
.
other
set.
==
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.
goal
pass completes.
goal
pass.
<<
, >>
, and >>>
.
+
when applied to Strings.
java.io.Serializable
short
SilentErrorQueue
records but does not output error messages.Source
represents a source file.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
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.
StdErrorQueue
handles outputing error messages.Stmt
represents any Java statement.Stmt
represents any Java statement.this
with the strictfp
flag set.
java.lang.String
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.Sub
is a piece of syntax in a list inside of square brackets.polyglot.types.Type
.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.Switch
is an immutable representation of a Java
switch
statement.synchronized
block.this
with the
synchronized
flag set.
synchronized
block.SourceJob
from the non-empty
worklist
.
other
also set.
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.
Source
associated with the
SourceJob
returned by sourceJob
.
Source
that this Job
is for.
SourceJob
associated with our outer Job
.
SourceJob
associated with this Job
.
t
, excluding the
pseudo-field class
.
t
, modified as necessary to make it a legal
static target.
ConstructorInstance
.
FieldInstance
.
MethodInstance
.
Type
.
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
TrackedTypeNode
interface,
a type node for a class instantiated with a key.this
with the transient
flag set.
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
is the base type of all classes which represent
types.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.Type
.Typed
represents any node that has a type
associated with it.this
throws fewer exceptions than
p
.
pi
.
m1
throws fewer exceptions than
m2
.
this
throws fewer exceptions than
p
.
pi
.
ls
from a Sub to a ParamNode.
CodeWriter
.
Cast
since casting can be done on parameter types in PolyJ, and this is translated
differently.
instanceof
operators are translated to calls to methods
for some parametrized types
type
.
ReferenceType
.
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.UnwrapVisitor
rewrites the AST to remove any Wrapped
nodes resulting from the parser.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.void
this
with the volatile
flag set.
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
.
t
.
while
statement.while
statement.Wrapper
wraps a Parse
inside an AST node so that
it can be insert in the AST.SourceJob
s.
t
.
t
.
s
verbatim on the output stream.
s
verbatim on the output stream.
procs
.
reduce_goto
table.
reduce_goto
table.
reduce_goto
table.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |