public static class Java._StatementBlock extends Java._Block
modCount| Constructor and Description |
|---|
_StatementBlock() |
| Modifier and Type | Method and Description |
|---|---|
Java.DOWHILE |
addDOWHILE(String cond)
Adds a feature to the DOWHILE attribute of the _StatementBlock object
|
Java.FOR |
addFOR(String start,
String condition,
String iter)
Adds a feature to the FOR attribute of the _StatementBlock object
|
Java.IF |
addIF(String cond)
Adds a feature to the IF attribute of the _StatementBlock object
|
void |
addLABEL(String s) |
void |
addLine() |
void |
addLine(String s) |
void |
addRETURN(String expr) |
void |
addS(String s)
Adds a feature to the S attribute of the _StatementBlock object
|
Java.SWITCH |
addSWITCH(String cond)
Adds a feature to the SWITCH attribute of the _StatementBlock object
|
Java.TRY |
addTRY() |
Java.VAR |
addVAR(String modifier,
String type,
String name) |
Java.VAR |
addVAR(String modifier,
String type,
String name,
String init) |
Java.WHILE |
addWHILE(String cond)
Adds a feature to the WHILE attribute of the _StatementBlock object
|
addC, addC, emit, emitIndentadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic void addS(String s)
s - The feature to be added to the S attributepublic void addLine()
public void addLine(String s)
public void addRETURN(String expr)
public void addLABEL(String s)
public Java.FOR addFOR(String start, String condition, String iter)
start - The feature to be added to the FOR attributecondition - The feature to be added to the FOR attributeiter - The feature to be added to the FOR attributepublic Java.IF addIF(String cond)
cond - The feature to be added to the IF attributepublic Java.WHILE addWHILE(String cond)
cond - The feature to be added to the WHILE attributepublic Java.SWITCH addSWITCH(String cond)
cond - The feature to be added to the SWITCH attributepublic Java.DOWHILE addDOWHILE(String cond)
cond - The feature to be added to the DOWHILE attributepublic Java.TRY addTRY()
Copyright © 2013–2014. All rights reserved.