public abstract class DoWhile extends CodeChunk
do {....} while(...); loop.| Modifier and Type | Class and Description |
|---|---|
static class |
DoWhile.Builder
A builder for a
DoWhile. |
CodeChunk.Generator, CodeChunk.RequiresCollector, CodeChunk.WithValueEMPTY_OBJECT_LITERAL, LITERAL_EMPTY_STRING, LITERAL_FALSE, LITERAL_NULL, LITERAL_TRUE| Constructor and Description |
|---|
DoWhile() |
| Modifier and Type | Method and Description |
|---|---|
static DoWhile.Builder |
builder() |
void |
collectRequires(CodeChunk.RequiresCollector collector)
Adds all the 'goog.require' identifiers needed by this CodeChunk to the given collection.
|
arrayLiteral, assertExpr, assertExprAndCollectRequires, assign, dontTrustPrecedenceOf, dottedIdNoRequire, forLoop, forLoop, fromExpr, function, getCode, getStatementsForInsertingIntoForeignCodeAtIndent, id, ifExpression, ifStatement, mapLiteral, new_, not, number, number, operation, regexLiteral, return_, statements, statements, stringLiteral, switch_, throw_, treatRawStringAsStatementLegacyOnlypublic static DoWhile.Builder builder()
public void collectRequires(CodeChunk.RequiresCollector collector)
CodeChunkcollectRequires in class CodeChunk