Uses of Interface
org.jparsec.examples.java.ast.expression.Expression
-
Packages that use Expression Package Description org.jparsec.examples.java.ast.declaration org.jparsec.examples.java.ast.expression org.jparsec.examples.java.ast.statement org.jparsec.examples.java.parser -
-
Uses of Expression in org.jparsec.examples.java.ast.declaration
Fields in org.jparsec.examples.java.ast.declaration declared as Expression Modifier and Type Field Description Expression
MethodDef. defaultValue
Expression
FieldDef. value
Fields in org.jparsec.examples.java.ast.declaration with type parameters of type Expression Modifier and Type Field Description java.util.List<Expression>
EnumDef.Value. arguments
Constructors in org.jparsec.examples.java.ast.declaration with parameters of type Expression Constructor Description FieldDef(java.util.List<Modifier> modifiers, TypeLiteral type, java.lang.String name, Expression value)
MethodDef(java.util.List<Modifier> modifiers, java.util.List<TypeParameterDef> typeParameters, TypeLiteral returnType, java.lang.String name, java.util.List<ParameterDef> parameters, java.util.List<TypeLiteral> exceptions, Expression defaultValue, BlockStatement body)
Constructor parameters in org.jparsec.examples.java.ast.declaration with type arguments of type Expression Constructor Description Value(java.lang.String name, java.util.List<Expression> arguments, java.util.List<Member> body)
-
Uses of Expression in org.jparsec.examples.java.ast.expression
Classes in org.jparsec.examples.java.ast.expression that implement Expression Modifier and Type Class Description class
ArrayInitializer
Represents array initializer used in variable definition.class
ArraySubscriptExpression
Represents an "array[i]" expression.class
BinaryExpression
Represents binary expression such as "a + b".class
BooleanLiteral
"true" or "false".class
CastExpression
A cast expression.class
CharLiteral
Represents a character literal.class
ClassLiteral
Represents "Foo.class".class
ConditionalExpression
Represents "?:" expression.class
ConstructorReference
class
DecimalPointNumberLiteral
Represents a decimal point number.class
Identifier
Represents a simple name as expression.class
InstanceOfExpression
Represents "expr instanceof type".class
IntegerLiteral
Represents any integral number literal.class
LambdaExpression
Represents lambda expressions.class
MethodCallExpression
Represents expressions likeobj.f(...)
.class
MethodReference
Represents expressions likeobj::f
.class
NewArrayExpression
Represents a "new Foo[] {...}" or "new Foo[size] {...}" expression.class
NewExpression
Represents a non-qualified "new" statement with possibly anonymous class syntax.class
NullExpression
Represents "null".class
PostfixUnaryExpression
Represents expression with postfix unary operator.class
PrefixUnaryExpression
Represents expression with prefix unary operator.class
QualifiedExpression
Represents "obj.field", "SomeType.staticField", "SomeType.SomeNestedType" or "org.codehaus.jparsec" kind of qualified expressions.class
ScientificNumberLiteral
Represents scientific notation number.class
StringLiteral
Represents a string literal.class
SuperExpression
Represents the "super" keyword.class
ThisExpression
"this" or "A.B.this".Fields in org.jparsec.examples.java.ast.expression declared as Expression Modifier and Type Field Description Expression
ConditionalExpression. alternative
Expression
ArraySubscriptExpression. array
Expression
ConditionalExpression. condition
Expression
ConditionalExpression. consequence
Expression
CastExpression. expression
Expression
InstanceOfExpression. expression
Expression
PostfixUnaryExpression. expression
Expression
PrefixUnaryExpression. expression
Expression
ArraySubscriptExpression. index
static Expression
NullExpression. instance
Expression
BinaryExpression. left
Expression
NewArrayExpression. length
Expression
ConstructorReference. owner
Expression
MethodReference. owner
Expression
NewExpression. qualifier
Expression
QualifiedExpression. qualifier
Expression
BinaryExpression. right
Expression
MethodCallExpression. target
Fields in org.jparsec.examples.java.ast.expression with type parameters of type Expression Modifier and Type Field Description java.util.List<Expression>
MethodCallExpression. arguments
java.util.List<Expression>
NewExpression. arguments
java.util.List<Expression>
NewArrayExpression. initializer
java.util.List<Expression>
ArrayInitializer. values
Constructor parameters in org.jparsec.examples.java.ast.expression with type arguments of type Expression Constructor Description ArrayInitializer(java.util.List<Expression> values)
NewArrayExpression(TypeLiteral type, Expression length, java.util.List<Expression> initializer)
NewExpression(Expression qualifier, TypeLiteral type, java.util.List<Expression> arguments, DefBody classBody)
-
Uses of Expression in org.jparsec.examples.java.ast.statement
Fields in org.jparsec.examples.java.ast.statement declared as Expression Modifier and Type Field Description Expression
AssertStatement. condition
Expression
DoWhileStatement. condition
Expression
ForStatement. condition
Expression
IfStatement. condition
Expression
SwitchStatement. condition
Expression
WhileStatement. condition
Expression
ExpressionStatement. expression
Expression
AssertStatement. message
Expression
ForeachStatement. of
Expression
ThrowStatement. thrown
Expression
Annotation.Element. value
Expression
ReturnStatement. value
Expression
VarStatement.Var. value
Fields in org.jparsec.examples.java.ast.statement with type parameters of type Expression Modifier and Type Field Description java.util.List<Expression>
SuperCallStatement. args
java.util.List<Expression>
ThisCallStatement. args
java.util.List<Pair<Expression,Statement>>
SwitchStatement. cases
java.util.List<Pair<Expression,Statement>>
IfStatement. elseifs
java.util.List<Expression>
ExpressionListStatement. expressions
java.util.List<Expression>
ForStatement. incrementer
Constructors in org.jparsec.examples.java.ast.statement with parameters of type Expression Constructor Description AssertStatement(Expression condition, Expression message)
DoWhileStatement(Statement statement, Expression condition)
Element(java.lang.String name, Expression value)
ExpressionStatement(Expression expression)
ForeachStatement(TypeLiteral type, java.lang.String var, Expression of, Statement statement)
ForStatement(Statement initializer, Expression condition, java.util.List<Expression> incrementer, Statement statement)
IfStatement(Expression condition, Statement then, java.util.List<Pair<Expression,Statement>> elseifs, Statement otherwise)
ReturnStatement(Expression value)
SwitchStatement(Expression condition, java.util.List<Pair<Expression,Statement>> cases, Statement defaultCase)
ThrowStatement(Expression thrown)
Var(java.lang.String name, Expression value)
WhileStatement(Expression condition, Statement statement)
Constructor parameters in org.jparsec.examples.java.ast.statement with type arguments of type Expression Constructor Description ExpressionListStatement(java.util.List<Expression> expressions)
ForStatement(Statement initializer, Expression condition, java.util.List<Expression> incrementer, Statement statement)
IfStatement(Expression condition, Statement then, java.util.List<Pair<Expression,Statement>> elseifs, Statement otherwise)
SuperCallStatement(java.util.List<Expression> args)
SwitchStatement(Expression condition, java.util.List<Pair<Expression,Statement>> cases, Statement defaultCase)
ThisCallStatement(java.util.List<Expression> args)
-
Uses of Expression in org.jparsec.examples.java.parser
Fields in org.jparsec.examples.java.parser with type parameters of type Expression Modifier and Type Field Description (package private) static Parser<Expression>
ExpressionParser. ATOM
(package private) static Parser<Expression>
ExpressionParser. BOOLEAN_LITERAL
(package private) static Parser<Expression>
ExpressionParser. CHAR_LITERAL
(package private) static Parser<Expression>
ExpressionParser. CLASS_LITERAL
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. CONSTRUCTOR_REFERENCE
(package private) static Parser<Expression>
ExpressionParser. DECIMAL_LITERAL
(package private) static Parser<Expression>
ExpressionParser. IDENTIFIER
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. INSTANCE_OF
(package private) static Parser<Expression>
ExpressionParser. INTEGER_LITERAL
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. METHOD_REFERENCE
(package private) static Parser<Expression>
ExpressionParser. NULL
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. QUALIFIED_EXPR
(package private) static Parser<Expression>
ExpressionParser. SCIENTIFIC_LITERAL
(package private) static Parser<Expression>
ExpressionParser. STRING_LITERAL
(package private) static Parser<Expression>
ExpressionParser. SUPER
(package private) static Parser<Expression>
ExpressionParser. THIS
Methods in org.jparsec.examples.java.parser that return types with arguments of type Expression Modifier and Type Method Description private static Parser<java.util.List<Expression>>
ExpressionParser. argumentList(Parser<Expression> arg)
static Parser<Expression>
ExpressionParser. arrayInitializer(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. arrayInitializerOrRegularExpression(Parser<Expression> expr)
private static Parser<java.util.function.BinaryOperator<Expression>>
ExpressionParser. binary(Operator op)
(package private) static Parser<Expression>
ExpressionParser. castOrExpression(Parser<Expression> expr)
(foo)
can be a parenthesized expression, or the prefix of a cast expression, depending on whether there's an expression following.(package private) static Parser<java.util.function.BinaryOperator<Expression>>
ExpressionParser. conditional(Parser<Expression> consequence)
static Parser<Expression>
ExpressionParser. expression(Parser<DefBody> classBody, Parser<Statement> statement)
(package private) static Parser<Expression>
ExpressionParser. expression(Parser<Expression> atom, Parser<DefBody> classBody, Parser<Statement> statement)
(package private) static Parser<Expression>
ExpressionParser. newArrayWithExplicitLength(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. newArrayWithoutExplicitLength(Parser<Expression> expr)
private static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. postfix(Operator op)
private static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. prefix(Operator op)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. qualifiedMethodCall(Parser<Expression> arg)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. qualifiedNew(Parser<Expression> arg, Parser<DefBody> body)
(package private) static Parser<Expression>
ExpressionParser. simpleMethodCall(Parser<Expression> arg)
(package private) static Parser<Expression>
ExpressionParser. simpleNewExpression(Parser<Expression> arg, Parser<DefBody> body)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. subscript(Parser<Expression> expr)
Method parameters in org.jparsec.examples.java.parser with type arguments of type Expression Modifier and Type Method Description (package private) static Parser<Annotation>
StatementParser. annotation(Parser<Expression> expr)
private static Parser<java.util.List<Expression>>
ExpressionParser. argumentList(Parser<Expression> arg)
static Parser<Expression>
ExpressionParser. arrayInitializer(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. arrayInitializerOrRegularExpression(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. assertStatement(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. castOrExpression(Parser<Expression> expr)
(foo)
can be a parenthesized expression, or the prefix of a cast expression, depending on whether there's an expression following.(package private) static Parser<java.util.function.BinaryOperator<Expression>>
ExpressionParser. conditional(Parser<Expression> consequence)
(package private) static Parser<Declaration>
DeclarationParser. enumDef(Parser<Expression> expr, Parser<Member> member)
(package private) static Parser<Expression>
ExpressionParser. expression(Parser<Expression> atom, Parser<DefBody> classBody, Parser<Statement> statement)
(package private) static Parser<Statement>
StatementParser. expression(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. expressionList(Parser<Expression> expr)
(package private) static Parser<Member>
DeclarationParser. fieldDef(Parser<Expression> initializer)
(package private) static Parser<Statement>
StatementParser. foreachStatement(Parser<Expression> expr, Parser<Statement> stmt)
(package private) static Parser<Statement>
StatementParser. forStatement(Parser<Expression> expr, Parser<Statement> stmt)
(package private) static Parser<Statement>
StatementParser. ifStatement(Parser<Expression> expr, Parser<Statement> stmt)
(package private) static Parser<LambdaExpression>
ExpressionParser. lambdaExpression(Parser<Expression> expression, Parser<Statement> stmt)
(package private) static Parser<Modifier>
StatementParser. modifier(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. newArrayWithExplicitLength(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. newArrayWithoutExplicitLength(Parser<Expression> expr)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. qualifiedMethodCall(Parser<Expression> arg)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. qualifiedNew(Parser<Expression> arg, Parser<DefBody> body)
(package private) static Parser<Statement>
StatementParser. returnStatement(Parser<Expression> expr)
(package private) static Parser<Expression>
ExpressionParser. simpleMethodCall(Parser<Expression> arg)
(package private) static Parser<Expression>
ExpressionParser. simpleNewExpression(Parser<Expression> arg, Parser<DefBody> body)
(package private) static Parser<Statement>
StatementParser. statement(Parser<Expression> expr)
(package private) static Parser<java.util.function.UnaryOperator<Expression>>
ExpressionParser. subscript(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. superCall(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. switchStatement(Parser<Expression> expr, Parser<Statement> stmt)
(package private) static Parser<Statement>
StatementParser. thisCall(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. throwStatement(Parser<Expression> thrown)
(package private) static Parser<Statement>
StatementParser. varStatement(Parser<Expression> expr)
(package private) static Parser<Statement>
StatementParser. whileStatement(Parser<Expression> expr, Parser<Statement> stmt)
-