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