public class Block extends AbstractStatement implements LambdaBody
| Modifier and Type | Class and Description |
|---|---|
class |
Block.Semicolon |
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
acceptCodeWriter(CodeWriter w) |
void |
acceptSemicolon(Block.Semicolon semicolon) |
boolean |
isEmpty() |
static Block |
of(BlockElement... elements) |
static Block |
of(br.com.objectos.comuns.collections.GrowableList<? extends BlockElement> elements) |
acceptStatementOrBlockBuilder, toStringequals, hashCodepublic static Block of(BlockElement... elements)
public static Block of(br.com.objectos.comuns.collections.GrowableList<? extends BlockElement> elements)
public final CodeWriter acceptCodeWriter(CodeWriter w)
acceptCodeWriter in interface CodeElementpublic final void acceptSemicolon(Block.Semicolon semicolon)
acceptSemicolon in interface BlockElementpublic final boolean isEmpty()
Copyright © 2019 Objectos Software LTDA. All rights reserved.