Package guideme.compiler.tags
Class BlockTagCompiler
java.lang.Object
guideme.compiler.tags.BlockTagCompiler
- All Implemented Interfaces:
TagCompiler
,Extension
- Direct Known Subclasses:
BlockImageTagCompiler
,BoxTagCompiler
,CategoryIndexCompiler
,ItemGridCompiler
,ItemImageTagCompiler
,RecipeCompiler
,SceneTagCompiler
,SubPagesCompiler
Compiler base-class for tag compilers that compile block content but allow the block content to be used in flow
context by wrapping it in an inline block.
-
Field Summary
Fields inherited from interface guideme.compiler.TagCompiler
EXTENSION_POINT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
compile
(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) final void
compileBlockContext
(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) final void
compileFlowContext
(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, wait
Methods inherited from interface guideme.extensions.Extension
onExtensionsBuilt
Methods inherited from interface guideme.compiler.TagCompiler
getTagNames
-
Constructor Details
-
BlockTagCompiler
public BlockTagCompiler()
-
-
Method Details
-
compile
protected abstract void compile(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) -
compileFlowContext
public final void compileFlowContext(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxTextElement el) - Specified by:
compileFlowContext
in interfaceTagCompiler
-
compileBlockContext
public final void compileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) - Specified by:
compileBlockContext
in interfaceTagCompiler
-