Package guideme.compiler.tags
Class FlowTagCompiler
java.lang.Object
guideme.compiler.tags.FlowTagCompiler
- All Implemented Interfaces:
TagCompiler,Extension
- Direct Known Subclasses:
ATagCompiler,BreakCompiler,ColorTagCompiler,CommandLinkCompiler,FloatingImageCompiler,ItemLinkCompiler,KeyBindTagCompiler,PlayerNameTagCompiler
Compiler base-class for tag compilers that compile flow content but allow the flow content to be used in block
context by wrapping it in a paragraph.
-
Field Summary
Fields inherited from interface guideme.compiler.TagCompiler
EXTENSION_POINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcompile(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) final voidcompileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) voidcompileFlowContext(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxTextElement el) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface guideme.extensions.Extension
onExtensionsBuiltMethods inherited from interface guideme.compiler.TagCompiler
getTagNames, index
-
Constructor Details
-
FlowTagCompiler
public FlowTagCompiler()
-
-
Method Details
-
compile
protected abstract void compile(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) -
compileFlowContext
public void compileFlowContext(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxTextElement el) - Specified by:
compileFlowContextin interfaceTagCompiler
-
compileBlockContext
public final void compileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) - Specified by:
compileBlockContextin interfaceTagCompiler
-