Class IfStatement

    • Constructor Detail

      • IfStatement

        public IfStatement()
    • Method Detail

      • conditionExpr

        public abstract Expr conditionExpr()
      • body

        public abstract com.google.common.collect.ImmutableList<Statement> body()
      • elseIfs

        public abstract com.google.common.collect.ImmutableMap<Expr,​List<Statement>> elseIfs()
      • elseBody

        public abstract com.google.common.collect.ImmutableList<Statement> elseBody()
      • accept

        public void accept​(AstNodeVisitor visitor)
        Description copied from interface: AstNode
        Writes the syntatically-correct Java code representation of this node.
        Specified by:
        accept in interface AstNode
        Specified by:
        accept in interface Statement