Class BlockReader
java.lang.Object
me.kzheart.klib.script.kether.core.AbstractStringReader
me.kzheart.klib.script.kether.core.BlockReader
解析具名和匿名 Kether 块。
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String, Quest.Block> protected Stringprotected final QuestService<?> Fields inherited from class me.kzheart.klib.script.kether.core.AbstractStringReader
content, index, mark -
Constructor Summary
ConstructorsConstructorDescriptionBlockReader(char[] content, QuestService<?> service, List<String> namespace) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckLiteral(List<ParsedAction<?>> actions) QuestService<?> protected SimpleReadernewActionReader(QuestService<?> runtime, List<String> namespaces) protected Stringprotected voidprocessActions(Quest.Block block, List<ParsedAction<?>> actions) List<ParsedAction<?>> protected ParsedAction<?> protected ParsedAction<?> readAnonymousAction(List<String> activeNamespaces) void
-
Field Details
-
blocks
-
service
-
namespace
-
currentBlock
-
-
Constructor Details
-
BlockReader
-
-
Method Details
-
parse
-
readBlock
public void readBlock() -
checkLiteral
-
readActions
-
readAnonymousAction
-
readAnonymousAction
-
newActionReader
-
nextAnonymousBlockName
-
processActions
-
getBlocks
-
getService
-
getNamespace
-
getCurrentBlock
-