Modifier and Type | Field and Description |
---|---|
static ParseStart<VariableDeclarationExpr> |
ParseStart.VARIABLE_DECLARATION_EXPR |
Modifier and Type | Method and Description |
---|---|
static VariableDeclarationExpr |
JavaParser.parseVariableDeclarationExpr(String declaration)
Parses a variable declaration expression and returns a
VariableDeclarationExpr
that represents it. |
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
VariableDeclarationExpr.asVariableDeclarationExpr() |
VariableDeclarationExpr |
Expression.asVariableDeclarationExpr() |
VariableDeclarationExpr |
VariableDeclarationExpr.clone() |
VariableDeclarationExpr |
VariableDeclarationExpr.setAnnotations(NodeList<AnnotationExpr> annotations) |
VariableDeclarationExpr |
VariableDeclarationExpr.setModifiers(EnumSet<Modifier> modifiers) |
VariableDeclarationExpr |
VariableDeclarationExpr.setVariables(NodeList<VariableDeclarator> variables) |
Modifier and Type | Method and Description |
---|---|
Optional<VariableDeclarationExpr> |
VariableDeclarationExpr.toVariableDeclarationExpr() |
Optional<VariableDeclarationExpr> |
Expression.toVariableDeclarationExpr() |
Modifier and Type | Method and Description |
---|---|
void |
VariableDeclarationExpr.ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action) |
void |
Expression.ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action) |
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
ForeachStmt.getVariable() |
Modifier and Type | Method and Description |
---|---|
ForeachStmt |
ForeachStmt.setVariable(VariableDeclarationExpr variable) |
Constructor and Description |
---|
ForeachStmt(TokenRange tokenRange,
VariableDeclarationExpr variable,
Expression iterable,
Statement body)
This constructor is used by the parser and is considered private.
|
ForeachStmt(VariableDeclarationExpr variable,
Expression iterable,
Statement body) |
ForeachStmt(VariableDeclarationExpr variable,
String iterable,
BlockStmt body) |
Modifier and Type | Method and Description |
---|---|
void |
ModifierValidator.visit(VariableDeclarationExpr n,
ProblemReporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(VariableDeclarationExpr n,
Void arg) |
Copyright © 2007–2018. All rights reserved.