public class Statement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Statement> |
contents |
protected java.lang.String |
line |
protected int |
lineNumber |
Modifier | Constructor and Description |
---|---|
protected |
Statement(int lineNumber,
java.lang.String line) |
Modifier and Type | Method and Description |
---|---|
protected void |
addStatement(int index,
Statement statement) |
protected void |
addStatement(Statement statement) |
java.util.List<Statement> |
getContents() |
protected java.lang.String |
getIndent(int indent) |
java.lang.String |
getLine() |
int |
getLineNumber() |
java.lang.String |
toString() |
protected java.lang.String |
toString(int indent) |
protected int lineNumber
protected java.lang.String line
protected java.util.List<Statement> contents
protected void addStatement(Statement statement)
protected void addStatement(int index, Statement statement)
public int getLineNumber()
public java.lang.String getLine()
public java.util.List<Statement> getContents()
protected java.lang.String getIndent(int indent)
protected java.lang.String toString(int indent)
public java.lang.String toString()
toString
in class java.lang.Object