Class ScriptParser.Block
java.lang.Object
zombie.scripting.ScriptParser.Block
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ArrayList
<ScriptParser.Block> final ArrayList
<ScriptParser.Value> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasBlock()
asValue()
getUid()
boolean
isEmpty()
void
moveValueAfter
(String keyMove, String keyAfter) void
prettyPrint
(int indent, StringBuilder sb, String eol) void
prettyPrintElements
(int indent, StringBuilder sb, String eol) void
-
Field Details
-
type
-
id
-
elements
-
values
-
children
-
comment
-
-
Constructor Details
-
Block
public Block()
-
-
Method Details
-
getUid
-
asBlock
- Specified by:
asBlock
in interfaceScriptParser.BlockElement
-
asValue
- Specified by:
asValue
in interfaceScriptParser.BlockElement
-
isEmpty
public boolean isEmpty() -
prettyPrint
- Specified by:
prettyPrint
in interfaceScriptParser.BlockElement
-
prettyPrintElements
-
addBlock
-
getBlock
-
getValue
-
setValue
-
addValue
-
moveValueAfter
-