Uses of Class
org.codehaus.janino.Java.Rvalue
-
Packages that use Java.Rvalue Package Description org.codehaus.janino The core of the Janino Java compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of Java.Rvalue in org.codehaus.janino
Subclasses of Java.Rvalue in org.codehaus.janino Modifier and Type Class Description static classJava.AmbiguousNameRepresentation of a JLS7 6.5.2 "ambiguous name".static classJava.ArrayAccessExpressionRepresentation of a JLS7 15.13 (JLS8: 15.10.3) "array access expression".static classJava.ArrayCreationReferenceRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>arrayType</var>::new".static classJava.ArrayLengthRepresentation of the JLS7 10.7 array type "length" pseudo-member.static classJava.AssignmentRepresentation of all JLS7 15.26 assignments.static classJava.BinaryOperationRepresentation of all non-operand-modifying binary operations.static classJava.BooleanLiteralRepresentation of a "boolean literal" (JLS7 3.10.3) (typeboolean).static classJava.BooleanRvalueBase class forJava.Rvalues that compile better as conditional branches.static classJava.CastRepresentation of a JLS7 15.16 "cast expression".static classJava.CharacterLiteralRepresentation of a "character literal" (JLS7 3.10.4) (typechar).static classJava.ClassInstanceCreationReferenceRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>classType</var>::new".static classJava.ClassLiteralRepresentation of a JLS7 15.8.2 "class literal".static classJava.ConditionalExpressionRepresentation of a JLS7 15.25 "conditional operation".static classJava.CrementRepresentation of a JLS7 15.14.2 "postfix increment operation", a JLS7 15.14.3 "postfix decrement operation", a JLS7 15.15.1 "prefix increment operation" or a JLS7 15.15.2 "prefix decrement operation".static classJava.FieldAccessRepresentation of an access to a field of a class or an interface.static classJava.FieldAccessExpressionRepresentation of a JLS7 15.11 "field access expression", including the "array length" pseudo field access.static classJava.FloatingPointLiteralRepresentation of a "floating-point literal" (JLS7 3.10.2) (typesfloatanddouble).static classJava.InstanceofRepresentation of a JLS7 15.20.2 "type comparison operation".static classJava.IntegerLiteralRepresentation of an "integer literal" (JLS7 3.10.1) (typesintandlong).static classJava.InvocationAbstract base class forJava.MethodInvocationandJava.SuperclassMethodInvocation.static classJava.LambdaExpressionRepresentation of a (Java 8+) "lambda expression", see JLS9 15.27.static classJava.LiteralAbstract base class for the various Java literals; see JLS7 3.10.static classJava.LocalVariableAccessRepresentation of a local variable access -- used during compilation.static classJava.LvalueRepresentation of an "lvalue", i.e.static classJava.MethodInvocationRepresentation of a JLS7 15.12 "method invocation expression".static classJava.MethodReferenceRepresentation of a "method reference expression", as described in JLS9 15.13, with the form "<var>referenceType</var>::identifier.static classJava.NewAnonymousClassInstanceRepresentation of a JLS7 15.9 "anonymous class instance creation expression".static classJava.NewArrayRepresentation of a JLS7 15.10 "array creation expression".static classJava.NewClassInstanceRepresentation of a JLS7 "class instance creation expression".static classJava.NewInitializedArrayRepresentation of a JLS7 15.10 "array creation expression".static classJava.NullLiteralRepresentation of a "null literal" (JLS7 3.10.7).static classJava.ParameterAccess"Artificial" operation for accessing the parameters of the synthetic constructor of an anonymous class.static classJava.ParenthesizedExpressionRepresentation of a JLS7 15.8.5 "parenthesized expression".static classJava.QualifiedThisReferenceRepresentation of an JLS7 15.8.4 access to the current object or an enclosing instance.static classJava.SimpleConstantThis class is not used when code is parsed; it is intended for "programmatic" literals.static classJava.StringLiteralRepresentation of a "string literal" (JLS7 3.10.5) (typeString).static classJava.SuperclassFieldAccessExpressionRepresentation of an JLS7 "superclass field access expression", e.g.static classJava.SuperclassMethodInvocationRepresentation of a JLS7 15.12.1.1.3 "superclass method invocation".static classJava.TextBlockRepresentation of a "text block" (JLS17 3.10.6 Text Blocks) (typeString).static classJava.ThisReferenceRepresentation of an JLS7 15.8.3 access to the innermost enclosing instance.static classJava.UnaryOperationRepresentation of a JLS7 15.15.3 "unary plus operator", a JLS7 15.15.4 "unary minus operator", a JLS7 15.15.5 "bitwise complement operator" or a JLS7 15.15.6 "logical complement operator".Fields in org.codehaus.janino declared as Java.Rvalue Modifier and Type Field Description Java.Rvalue[]Java.ConstructorInvocation. argumentsThe arguments to pass to the constructor.Java.Rvalue[]Java.EnumConstant. argumentsThe optional arguments that appear after the enum constant name iff the enum declares constructors with one or more parameters.Java.Rvalue[]Java.Invocation. argumentsArguments to pass to the method.Java.Rvalue[]Java.NewAnonymousClassInstance. argumentsThe arguments to pass to the constructor.Java.Rvalue[]Java.NewClassInstance. argumentsThe arguments to pass to the constructor.Java.RvalueJava.DoStatement. conditionThe condition in the WHILE clause of this DO statement.Java.RvalueJava.ForStatement. conditionThe optional "condition" part of the "basic FOR statement".Java.RvalueJava.IfStatement. conditionThe condition of the IF statement.Java.RvalueJava.SwitchStatement. conditionThe rvalue that is evaluated and matched with the CASE clauses.Java.RvalueJava.WhileStatement. conditionThe "condition" of the WHILE statement.Java.Rvalue[]Java.NewArray. dimExprsThe sizes of the first dimensions to instantiate.Java.RvalueJava.ExpressionLambdaBody. expressionThe expression that poses the lambda body.Java.RvalueJava.ForEachStatement. expressionThe "expression" part of the "enhanced FOR statement".Java.RvalueJava.SynchronizedStatement. expressionThe object reference on which the statement synchronizes.Java.RvalueJava.ThrowStatement. expressionThe rvalue (of typeThrowable) thrown by this THROW statement.Java.RvalueJava.AssertStatement. expression1The left-hand-side expression of this ASSERT statement.Java.RvalueJava.AssertStatement. expression2The optional right-hand-side expression of this ASSERT statement.Java.RvalueJava.ArrayAccessExpression. indexThe index value to use.Java.RvalueJava.ArrayAccessExpression. lhsThe array to access (must be anJava.Lvalueif the access is modifying).Java.RvalueJava.ArrayLength. lhsThe rvalue identifying the array to determine the length of.Java.RvalueJava.BinaryOperation. lhsThe left hand side operand.Java.RvalueJava.ConditionalExpression. lhsLeft-hand side of this conditional operation.Java.RvalueJava.Instanceof. lhsThe rvalue who's type is to be compared.Java.RvalueJava.ConditionalExpression. mhsMiddle-hand side of this conditional operation.Java.RvalueJava.UnaryOperation. operandThe rvalue to operate upon.Java.RvalueJava.NewAnonymousClassInstance. qualificationThe qualification iff this a "qualified anonymous class instance creation expression".Java.RvalueJava.NewClassInstance. qualificationThe qualification of this "qualified class instance creation expression".Java.RvalueJava.SuperConstructorInvocation. qualificationThe qualification for this "qualified superclass constructor invocation", ornulliff this is an "unqualified superclass constructor invocation".Java.RvalueJava.ReturnStatement. returnValueThe optional rvalue that is returned.Java.RvalueJava.Assignment. rhsThe rvalue that is assigned.Java.RvalueJava.BinaryOperation. rhsThe right hand side operand.Java.RvalueJava.ConditionalExpression. rhsRight-hand side of this conditional operation.Java.RvalueJava.ExpressionStatement. rvalueThe rvalue that is evaluated when the statement is executed.Java.RvalueJava.RvalueMemberType. rvalueThe expression that represents the outer instance required for the instantiation of the inner type.Java.Rvalue[]Java.ForStatement. updateThe optional "update" part of the "basic FOR statement".Java.RvalueJava.Cast. valueThe rvalue to convert.(package private) Java.RvalueJava.FieldAccessExpression. valueTheJava.ArrayLengthorJava.FieldAccessresulting from this "field access expression".Java.RvalueJava.ParenthesizedExpression. valueThe rvalue in parentheses.(package private) Java.RvalueJava.SuperclassFieldAccessExpression. valueTheJava.FieldAccessthat implements thisJava.FieldAccessExpression.Java.RvalueJava.TryStatement.VariableAccessResource. variableAccessThe rvalue of this resource.Fields in org.codehaus.janino with type parameters of type Java.Rvalue Modifier and Type Field Description java.util.List<Java.Rvalue>Java.SwitchStatement.SwitchBlockStatementGroup. caseLabelsThe CASE labels at the top of the "switch block statement group".Methods in org.codehaus.janino that return Java.Rvalue Modifier and Type Method Description private Java.RvalueUnitCompiler. determineValue(Java.FieldAccessExpression fae)private Java.RvalueUnitCompiler. determineValue(Java.SuperclassFieldAccessExpression scfae)"super.fld", "Type.super.fld"Java.Rvalue[]Parser. parseArgumentList()ArgumentList := Expression { ',' Expression }Java.Rvalue[]Parser. parseArguments()Arguments := '(' [ ArgumentList ] ')'Java.RvalueParser. parseDimExpr()DimExpr := '[' Expression ']'Java.Rvalue[]Parser. parseDimExprs()DimExprs := DimExpr { DimExpr }Java.RvalueParser. parseExpression()Expression := AssignmentExpression | LambdaExpressionJava.Rvalue[]Parser. parseExpressionList()ExpressionList := Expression { ',' Expression }Java.RvalueParser. parseLiteral()Literal := IntegerLiteral | FloatingPointLiteral | BooleanLiteral | CharacterLiteral | StringLiteral | NullLiteralJava.RvalueJava.AmbiguousName. toRvalue()Java.RvalueJava.Atom. toRvalue()Java.RvalueJava.Rvalue. toRvalue()Java.RvalueJava.Atom. toRvalueOrCompileException()private Java.RvalueUnitCompiler. toRvalueOrCompileException(Java.Atom a)Methods in org.codehaus.janino that return types with arguments of type Java.Rvalue Modifier and Type Method Description java.util.Iterator<Java.Rvalue>Java.BinaryOperation. unrollLeftAssociation()Transforms this binary operation into anIteratorover a left-to-right sequence ofJava.Rvalues.Methods in org.codehaus.janino with parameters of type Java.Rvalue Modifier and Type Method Description private voidUnitCompiler. compile(Java.Rvalue rv)SomeJava.Rvalues compile more efficiently when their value is not needed, e.g.private voidUnitCompiler. compile2(Java.Rvalue rv)private ITypeUnitCompiler. compileArithmeticBinaryOperation(Java.Locatable locatable, IType lhsType, java.lang.String operator, Java.Rvalue rhs)The LHS operand of type lhsType is expected on the stack.private voidUnitCompiler. compileBoolean(Java.Rvalue rv, CodeContext.Offset dst, boolean orientation)Compiles anJava.Rvalueand branches, depending on the value.private voidUnitCompiler. compileBoolean2(Java.Rvalue rv, CodeContext.Offset dst, boolean orientation)private intUnitCompiler. compileContext(Java.Rvalue rv)Generates code that determines the context of theJava.Rvalueand puts it on the operand stack.private intUnitCompiler. compileContext2(Java.Rvalue rv)private ITypeUnitCompiler. compileGet(Java.Rvalue rv)Generates code that determines the value of theJava.Rvalueand puts it on the operand stack.private ITypeUnitCompiler. compileGetValue(Java.Rvalue rv)Convenience function that callsUnitCompiler.compileContext(Rvalue)andUnitCompiler.compileGet(Rvalue).private IClassUnitCompiler. compileStringConcatenation(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, java.util.Iterator<Java.Rvalue> operands)private booleanUnitCompiler. compileUnconditionalLoop(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)private booleanUnitCompiler. compileUnconditionalLoopWithUpdate(Java.ContinuableStatement cs, Java.BlockStatement body, Java.Rvalue[] update)private voidUnitCompiler. fakeCompile(Java.Rvalue rv)Called to check whether the givenJava.Rvaluecompiles or not.private IClass.IMethodUnitCompiler. fakeIMethod(IClass targetType, java.lang.String name, Java.Rvalue[] arguments)private IClass.IInvocableUnitCompiler. findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, Java.Rvalue[] arguments, Java.Scope contextScope)Determines the arguments' types, determine the applicable invocables and choose the most specific invocable and adjust arguments as needed (for varargs case).java.lang.ObjectUnitCompiler. getConstantValue(Java.Rvalue rv)Attempts to evaluate as a constant expression.private java.lang.ObjectUnitCompiler. getConstantValue2(Java.Rvalue rv)private ITypeUnitCompiler. getType(Java.Rvalue rv)private voidUnitCompiler. invokeConstructor(Java.Locatable locatable, Java.Scope scope, Java.Rvalue enclosingInstance, IType targetType, Java.Rvalue[] arguments)Expects the object to initialize on the stack.private voidUnparser. unparseFunctionInvocationArguments(Java.Rvalue[] arguments)private voidUnparser. unparseRhs(Java.Rvalue rhs, java.lang.String binaryOperator)Iff therhsis unnatural for thebinaryOperator, enclose therhsin parentheses.voidUnparser. unparseRvalue(Java.Rvalue rv)private voidUnparser. unparseUnaryOperation(Java.Rvalue operand, java.lang.String unaryOperator)Iff theoperandis unnatural for theunaryOperator, encloses theoperandin parentheses.RVisitor.ArrayInitializerOrRvalueVisitor. visitRvalue(Java.Rvalue rvalue)RVisitor.AtomVisitor. visitRvalue(Java.Rvalue rv)Invoked byaccept(Visitor.AtomVisitor).RVisitor.ElementValueVisitor. visitRvalue(Java.Rvalue rv)Invoked byaccept(Visitor.ElementValueVisitor)Method parameters in org.codehaus.janino with type arguments of type Java.Rvalue Modifier and Type Method Description private ITypeUnitCompiler. compileArithmeticOperation(Java.Locatable locatable, IType firstOperandType, java.util.Iterator<Java.Rvalue> operands, java.lang.String operator)Executes an arithmetic operation on a sequence of operands.private IClassUnitCompiler. compileStringConcatenation(Java.Locatable locatable, IType type, Java.Rvalue secondOperand, java.util.Iterator<Java.Rvalue> operands)Constructor parameters in org.codehaus.janino with type arguments of type Java.Rvalue Constructor Description SwitchBlockStatementGroup(Location location, java.util.List<Java.Rvalue> caseLabels, boolean hasDefaultLabel, java.util.List<Java.BlockStatement> blockStatements) -
Uses of Java.Rvalue in org.codehaus.janino.util
Fields in org.codehaus.janino.util with type parameters of type Java.Rvalue Modifier and Type Field Description private Visitor.RvalueVisitor<Java.Rvalue,CompileException>DeepCopier. rvalueCopierMethods in org.codehaus.janino.util that return types with arguments of type Java.Rvalue Modifier and Type Method Description java.util.List<Java.Rvalue>DeepCopier. copyRvalues(java.util.Collection<? extends Java.Rvalue> subject)Methods in org.codehaus.janino.util with parameters of type Java.Rvalue Modifier and Type Method Description Java.RvalueDeepCopier. copyOptionalRvalue(Java.Rvalue subject)Java.Rvalue[]DeepCopier. copyOptionalRvalues(Java.Rvalue[] subject)Java.RvalueDeepCopier. copyRvalue(Java.Rvalue subject)Java.Rvalue[]DeepCopier. copyRvalues(Java.Rvalue[] subject)voidAbstractTraverser. traverseRvalue(Java.Rvalue rv)voidTraverser. traverseRvalue(Java.Rvalue rv)Method parameters in org.codehaus.janino.util with type arguments of type Java.Rvalue Modifier and Type Method Description java.util.List<Java.Rvalue>DeepCopier. copyRvalues(java.util.Collection<? extends Java.Rvalue> subject)
-