Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- Package(Location, String) - Constructor for class org.codehaus.janino.Java.Package
- PACKAGE - Static variable in class org.codehaus.janino.Mod
- PackageDeclaration(Location, String) - Constructor for class org.codehaus.janino.Java.PackageDeclaration
- PackageMemberClassDeclaration(Location, String, Java.ModifiersAndAnnotations, String, Java.Type, Java.Type[]) - Constructor for class org.codehaus.janino.Java.PackageMemberClassDeclaration
- PackageMemberInterfaceDeclaration(Location, String, Java.ModifiersAndAnnotations, String, Java.Type[]) - Constructor for class org.codehaus.janino.Java.PackageMemberInterfaceDeclaration
- packageMemberTypeDeclarations - Variable in class org.codehaus.janino.Java.CompilationUnit
- packageName - Variable in class org.codehaus.janino.Java.PackageDeclaration
- ParameterAccess(Location, Java.FunctionDeclarator.FormalParameter) - Constructor for class org.codehaus.janino.Java.ParameterAccess
- parameterFDs - Variable in class org.codehaus.janino.MethodDescriptor
-
The field descriptors of the method parameters.
- ParenthesizedExpression(Location, Java.Rvalue) - Constructor for class org.codehaus.janino.Java.ParenthesizedExpression
- parseAdditiveExpression() - Method in class org.codehaus.janino.Parser
-
AdditiveExpression := MultiplicativeExpression { ( '+' | '-' ) MultiplicativeExpression }
- parseAndExpression() - Method in class org.codehaus.janino.Parser
-
AndExpression := EqualityExpression { 'invalid input: '&'' EqualityExpression }
- parseArgumentList() - Method in class org.codehaus.janino.Parser
-
ArgumentList := Expression { ',' Expression }
- parseArguments() - Method in class org.codehaus.janino.Parser
-
Arguments := '(' [ ArgumentList ] ')'
- parseArrayInitializer() - Method in class org.codehaus.janino.Parser
-
ArrayInitializer := '{' [ VariableInitializer { ',' VariableInitializer } [ ',' ] '}'
- parseAssertStatement() - Method in class org.codehaus.janino.Parser
-
AssertStatement := 'assert' Expression [ ':' Expression ] ';'
- parseAssignmentExpression() - Method in class org.codehaus.janino.Parser
-
AssignmentExpression := ConditionalExpression [ AssignmentOperator AssignmentExpression ] AssignmentOperator := '=' | '*=' | '/=' | '%=' | '+=' | '-=' | 'invalid input: '<'invalid input: '<'=' | '>>=' | '>>>=' | 'invalid input: '&'=' | '^=' | '|='
- parseBlock() - Method in class org.codehaus.janino.Parser
-
'{' BlockStatements '}'
- parseBlockStatement() - Method in class org.codehaus.janino.Parser
-
BlockStatement := { Identifier ':' } ( ( Modifiers Type | ModifiersOpt BasicType ) LocalVariableDeclarators ';' | 'class' ...
- parseBlockStatements() - Method in class org.codehaus.janino.Parser
-
BlockStatements := { BlockStatement }
- parseBreakStatement() - Method in class org.codehaus.janino.Parser
-
BreakStatement := 'break' [ Identifier ] ';'
- parseClassBody(Java.ClassDeclaration) - Method in class org.codehaus.janino.Parser
-
ClassBody := '{' { ClassBodyDeclaration } '}'
- parseClassBodyDeclaration(Java.ClassDeclaration) - Method in class org.codehaus.janino.Parser
-
ClassBodyDeclaration := ';' | ModifiersOpt ( Block | // Instance (JLS2 8.6) or static initializer (JLS2 8.7) 'void' Identifier MethodDeclarationRest | 'class' ClassDeclarationRest | 'interface' InterfaceDeclarationRest | ConstructorDeclarator | Type Identifier ( MethodDeclarationRest | FieldDeclarationRest ';' ) )
- parseClassDeclarationRest(String, Java.ModifiersAndAnnotations, Parser.ClassDeclarationContext) - Method in class org.codehaus.janino.Parser
-
ClassDeclarationRest := Identifier [ 'extends' ReferenceType ] [ 'implements' ReferenceTypeList ] ClassBody
- parseCombinedPattern(String) - Static method in class org.codehaus.janino.util.StringPattern
-
Parse a "combined pattern" into an array of
StringPattern
s. - parseCompilationUnit() - Method in class org.codehaus.janino.Parser
-
CompilationUnit := [ PackageDeclaration ] { ImportDeclaration } { TypeDeclaration }
- parseConditionalAndExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalAndExpression := InclusiveOrExpression { 'invalid input: '&'invalid input: '&'' InclusiveOrExpression }
- parseConditionalExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalExpression := ConditionalOrExpression [ '?' Expression ':' ConditionalExpression ]
- parseConditionalOrExpression() - Method in class org.codehaus.janino.Parser
-
ConditionalOrExpression := ConditionalAndExpression { '||' ConditionalAndExpression ]
- parseConstructorDeclarator(String, Java.ModifiersAndAnnotations) - Method in class org.codehaus.janino.Parser
-
ConstructorDeclarator := Identifier FormalParameters [ 'throws' ReferenceTypeList ] '{' [ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ] BlockStatements '}'
- parseContinueStatement() - Method in class org.codehaus.janino.Parser
-
ContinueStatement := 'continue' [ Identifier ] ';'
- parseDimExpr() - Method in class org.codehaus.janino.Parser
-
DimExpr := '[' Expression ']'
- parseDimExprs() - Method in class org.codehaus.janino.Parser
-
DimExprs := DimExpr { DimExpr }
- parseDoStatement() - Method in class org.codehaus.janino.Parser
-
DoStatement := 'do' Statement 'while' '(' Expression ')' ';'
- parseEmptyStatement() - Method in class org.codehaus.janino.Parser
-
EmptyStatement := ';'
- parseEqualityExpression() - Method in class org.codehaus.janino.Parser
-
EqualityExpression := RelationalExpression { ( '==' | '!=' ) RelationalExpression }
- parseExclusiveOrExpression() - Method in class org.codehaus.janino.Parser
-
ExclusiveOrExpression := AndExpression { '^' AndExpression }
- parseExpression() - Method in class org.codehaus.janino.Parser
-
Expression := AssignmentExpression
- parseExpressionList() - Method in class org.codehaus.janino.Parser
-
ExpressionList := Expression { ',' Expression }
- parseExpressionStatement() - Method in class org.codehaus.janino.Parser
-
ExpressionStatement := Expression ';'
- parseFieldDeclarationRest(String) - Method in class org.codehaus.janino.Parser
-
FieldDeclarationRest := VariableDeclaratorRest { ',' VariableDeclarator }
- parseFormalParameter() - Method in class org.codehaus.janino.Parser
-
FormalParameter := [ 'final' ] Type Identifier BracketsOpt
- parseFormalParameters() - Method in class org.codehaus.janino.Parser
-
FormalParameters := '(' [ FormalParameter { ',' FormalParameter } ] ')'
- parseForStatement() - Method in class org.codehaus.janino.Parser
-
ForStatement := 'for' '(' [ ForInit ] ';' [ Expression ] ';' [ ExpressionList ] ')' Statement
- parseIfStatement() - Method in class org.codehaus.janino.Parser
-
IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]
- parseImportDeclaration() - Method in class org.codehaus.janino.Parser
-
ImportDeclaration := 'import' ImportDeclarationBody ';'
- parseImportDeclarationBody() - Method in class org.codehaus.janino.Parser
-
ImportDeclarationBody := [ 'static' ] Identifier { '.' Identifier } [ '.' '*' ]
- parseImportDeclarations(Reader) - Static method in class org.codehaus.commons.compiler.jdk.ClassBodyEvaluator
-
Heuristically parse IMPORT declarations at the beginning of the character stream produced by the given
Reader
. - parseInclusiveOrExpression() - Method in class org.codehaus.janino.Parser
-
InclusiveOrExpression := ExclusiveOrExpression { '|' ExclusiveOrExpression }
- parseInterfaceBody(Java.InterfaceDeclaration) - Method in class org.codehaus.janino.Parser
-
InterfaceBody := '{' { ';' | ModifiersOpt ( 'void' Identifier MethodDeclarationRest | 'class' ClassDeclarationRest | 'interface' InterfaceDeclarationRest | Type Identifier ( MethodDeclarationRest | FieldDeclarationRest ) ) } '}'
- parseInterfaceDeclarationRest(String, Java.ModifiersAndAnnotations, Parser.InterfaceDeclarationContext) - Method in class org.codehaus.janino.Parser
-
InterfaceDeclarationRest := Identifier [ 'extends' ReferenceTypeList ] InterfaceBody
- parseLabeledStatement() - Method in class org.codehaus.janino.Parser
-
LabeledStatement := Identifier ':' Statement
- parseLiteral() - Method in class org.codehaus.janino.Parser
- parseLocalVariableDeclarators() - Method in class org.codehaus.janino.Parser
-
LocalVariableDeclarators := VariableDeclarator { ',' VariableDeclarator }
- parseMethodBody() - Method in class org.codehaus.janino.Parser
-
MethodBody := Block
- parseMethodDeclarationRest(String, Java.ModifiersAndAnnotations, Java.Type, String) - Method in class org.codehaus.janino.Parser
-
MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] ( ';' | MethodBody )
- parseModifiersAndAnnotations() - Method in class org.codehaus.janino.Parser
-
ModifiersAndAnnotations := { 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' | Annotation }
- parseMultiplicativeExpression() - Method in class org.codehaus.janino.Parser
-
MultiplicativeExpression := UnaryExpression { ( '*' | '/' | '%' ) UnaryExpression }
- parsePackageDeclaration() - Method in class org.codehaus.janino.Parser
-
PackageDeclaration := 'package' QualifiedIdentifier ';'
- parsePackageMemberTypeDeclaration() - Method in class org.codehaus.janino.Parser
-
PackageMemberTypeDeclaration := ModifiersOpt 'class' ClassDeclarationRest | ModifiersOpt 'interface' InterfaceDeclarationRest
- parsePath(String) - Static method in class org.codehaus.janino.util.resource.PathResourceFinder
-
Break a given string up by the system-dependent path-separator character (on UNIX systems, this character is ':'; on Microsoft Windows systems it is ';').
- parsePrimary() - Method in class org.codehaus.janino.Parser
-
Primary := CastExpression | // CastExpression 15.16 '(' Expression ')' | // ParenthesizedExpression 15.8.5 Literal | // Literal 15.8.1 Name | // AmbiguousName Name Arguments | // MethodInvocation Name '[]' { '[]' } | // ArrayType 10.1 Name '[]' { '[]' } '.' 'class' | // ClassLiteral 15.8.2 'this' | // This 15.8.3 'this' Arguments | // Alternate constructor invocation 8.8.5.1 'super' Arguments | // Unqualified superclass constructor invocation 8.8.5.1 'super' '.' Identifier | // SuperclassFieldAccess 15.11.2 'super' '.' Identifier Arguments | // SuperclassMethodInvocation 15.12.4.9 NewClassInstance | NewAnonymousClassInstance | // ClassInstanceCreationExpression 15.9 NewArray | // ArrayCreationExpression 15.10 NewInitializedArray | // ArrayInitializer 10.6 BasicType { '[]' } | // Type BasicType { '[]' } '.' 'class' | // ClassLiteral 15.8.2 'void' '.' 'class' // ClassLiteral 15.8.2 CastExpression := '(' PrimitiveType { '[]' } ')' UnaryExpression | '(' Expression ')' UnaryExpression NewClassInstance := 'new' ReferenceType Arguments NewAnonymousClassInstance := 'new' ReferenceType Arguments [ ClassBody ] NewArray := 'new' Type DimExprs { '[]' } NewInitializedArray := 'new' ArrayType ArrayInitializer
- parseQualifiedIdentifier() - Method in class org.codehaus.janino.Parser
-
QualifiedIdentifier := Identifier { '.' Identifier }
- Parser - Class in org.codehaus.janino
-
A parser for the Java™ programming language.
- Parser(Scanner) - Constructor for class org.codehaus.janino.Parser
- Parser.ClassDeclarationContext - Class in org.codehaus.janino
- Parser.InterfaceDeclarationContext - Class in org.codehaus.janino
- parseReferenceType() - Method in class org.codehaus.janino.Parser
-
ReferenceType := QualifiedIdentifier
- parseReferenceTypeList() - Method in class org.codehaus.janino.Parser
-
ReferenceTypeList := ReferenceType { ',' ReferenceType }
- parseRelationalExpression() - Method in class org.codehaus.janino.Parser
-
RelationalExpression := ShiftExpression { ( ( 'invalid input: '<'' | '>' | 'invalid input: '<'=' | '>=' ) ShiftExpression ) | ( 'instanceof' ReferenceType ) }
- parseReturnStatement() - Method in class org.codehaus.janino.Parser
-
ReturnStatement := 'return' [ Expression ] ';'
- parseSelector(Java.Atom) - Method in class org.codehaus.janino.Parser
-
Selector := '.' Identifier | // FieldAccess 15.11.1 '.' Identifier Arguments | // MethodInvocation '.' 'this' // QualifiedThis 15.8.4 '.' 'super' Arguments // Qualified superclass constructor invocation (JLS 8.8.5.1) '.' 'super' '.' Identifier | // SuperclassFieldReference (JLS 15.11.2) '.' 'super' '.' Identifier Arguments | // SuperclassMethodInvocation (JLS 15.12.4.9) '.' 'new' Identifier Arguments [ ClassBody ] | // QualifiedClassInstanceCreationExpression 15.9 '.' 'class' '[' Expression ']' // ArrayAccessExpression 15.13
- parseShiftExpression() - Method in class org.codehaus.janino.Parser
-
ShiftExpression := AdditiveExpression { ( 'invalid input: '<'invalid input: '<'' | '>>' | '>>>' ) AdditiveExpression }
- parseStatement() - Method in class org.codehaus.janino.Parser
-
Statement := LabeledStatement | Block | IfStatement | ForStatement | WhileStatement | DoStatement | TryStatement | 'switch' ...
- parseSwitchStatement() - Method in class org.codehaus.janino.Parser
-
SwitchStatement := 'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}' SwitchLabels := SwitchLabels { SwitchLabels } SwitchLabel := 'case' Expression ':' | 'default' ':'
- parseSynchronizedStatement() - Method in class org.codehaus.janino.Parser
-
SynchronizedStatement := 'synchronized' '(' expression ')' Block
- parseThrowStatement() - Method in class org.codehaus.janino.Parser
-
ThrowStatement := 'throw' Expression ';'
- parseTryStatement() - Method in class org.codehaus.janino.Parser
-
TryStatement := 'try' Block Catches [ Finally ] | 'try' Block Finally Catches := CatchClause { CatchClause } CatchClause := 'catch' '(' FormalParameter ')' Block Finally := 'finally' Block
- parseType() - Method in class org.codehaus.janino.Parser
-
Type := ( 'byte' | 'short' | 'char' | 'int' | 'long' | 'float' | 'double' | 'boolean' | ReferenceType ) { '[' ']' }
- parseUnaryExpression() - Method in class org.codehaus.janino.Parser
-
UnaryExpression := { PrefixOperator } Primary { Selector } { PostfixOperator } PrefixOperator := '++' | '--' | '+' | '-' | '~' | '!' PostfixOperator := '++' | '--'
- parseVariableDeclarator() - Method in class org.codehaus.janino.Parser
-
VariableDeclarator := Identifier VariableDeclaratorRest
- parseVariableDeclaratorRest(String) - Method in class org.codehaus.janino.Parser
-
VariableDeclaratorRest := { '[' ']' } [ '=' VariableInitializer ]
- parseVariableInitializer() - Method in class org.codehaus.janino.Parser
-
VariableInitializer := ArrayInitializer | Expression
- parseWhileStatement() - Method in class org.codehaus.janino.Parser
-
WhileStatement := 'while' '(' Expression ')' Statement
- PathResourceFinder - Class in org.codehaus.janino.util.resource
-
A
ResourceFinder
that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names. - PathResourceFinder(File[]) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
- PathResourceFinder(String) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
- PathResourceFinder(Iterator) - Constructor for class org.codehaus.janino.util.resource.PathResourceFinder
- PATTERNS_ALL - Static variable in class org.codehaus.janino.util.StringPattern
- PATTERNS_NONE - Static variable in class org.codehaus.janino.util.StringPattern
- peek() - Method in class org.codehaus.janino.Parser
- peek(int[]) - Method in class org.codehaus.janino.Parser
- peek(String) - Method in class org.codehaus.janino.Parser
- peek(String[]) - Method in class org.codehaus.janino.Parser
- peekEof() - Method in class org.codehaus.janino.Parser
- peekIdentifier() - Method in class org.codehaus.janino.Parser
- peekLiteral() - Method in class org.codehaus.janino.Parser
- peekNextButOne() - Method in class org.codehaus.janino.Parser
- peekNextButOne(String) - Method in class org.codehaus.janino.Parser
- peekRead(String) - Method in class org.codehaus.janino.Parser
- peekRead(String[]) - Method in class org.codehaus.janino.Parser
- popInserter() - Method in class org.codehaus.janino.CodeContext
-
Replace the current
CodeContext.Inserter
with the remembered one (seeCodeContext.pushInserter(CodeContext.Inserter)
). - postConstruct() - Method in class org.codehaus.janino.IClassLoader
-
This method must be called by the constructor of the directly derived class.
- PPP - Static variable in class org.codehaus.janino.Mod
- pre - Variable in class org.codehaus.janino.Java.Crement
- prependParameter(String, String) - Static method in class org.codehaus.janino.MethodDescriptor
-
Patch an additional parameter into a given method descriptor.
- previous() - Method in class org.codehaus.janino.util.iterator.FilterListIterator
- previous() - Method in class org.codehaus.janino.util.iterator.ReverseListIterator
- previousIndex() - Method in class org.codehaus.janino.util.iterator.FilterListIterator
- previousIndex() - Method in class org.codehaus.janino.util.iterator.ReverseListIterator
-
Throws an
UnsupportedOperationException
. - PrimitiveWrapper - Class in org.codehaus.commons.compiler
-
A helper class that wraps primitive values in their wrapper classes.
- PRIVATE - Static variable in class org.codehaus.janino.Access
-
Representation of PRIVATE accessibility.
- PRIVATE - Static variable in class org.codehaus.janino.Mod
- produce() - Method in class org.codehaus.janino.Scanner
- produce() - Method in interface org.codehaus.janino.util.Producer
-
Produce the next object.
- Producer - Interface in org.codehaus.janino.util
-
An object that produces some
Object
each time theProducer.produce()
method is invoked. - ProducerIterator - Class in org.codehaus.janino.util.iterator
- ProducerIterator(Producer) - Constructor for class org.codehaus.janino.util.iterator.ProducerIterator
- PROTECTED - Static variable in class org.codehaus.janino.Access
-
Representation of PROTECTED accessibility.
- PROTECTED - Static variable in class org.codehaus.janino.Mod
- PUBLIC - Static variable in class org.codehaus.janino.Access
-
Representation of PUBLIC accessibility.
- PUBLIC - Static variable in class org.codehaus.janino.Mod
- pushInserter(CodeContext.Inserter) - Method in class org.codehaus.janino.CodeContext
-
Remember the current
CodeContext.Inserter
, then replace it with the new one.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form