| Modifier and Type | Class and Description |
|---|---|
static class |
IfStatement.Builder |
| Constructor and Description |
|---|
IfStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AstNodeVisitor visitor)
Writes the syntatically-correct Java code representation of this node.
|
abstract com.google.common.collect.ImmutableList<Statement> |
body() |
static IfStatement.Builder |
builder() |
abstract Expr |
conditionExpr() |
abstract com.google.common.collect.ImmutableList<Statement> |
elseBody() |
abstract com.google.common.collect.ImmutableMap<Expr,List<Statement>> |
elseIfs() |
public abstract Expr conditionExpr()
public abstract com.google.common.collect.ImmutableList<Statement> body()
public abstract com.google.common.collect.ImmutableList<Statement> elseBody()
public void accept(AstNodeVisitor visitor)
AstNodepublic static IfStatement.Builder builder()
Copyright © 2022 Google LLC. All rights reserved.