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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcompile(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) final voidcompileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) final 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
-
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:
compileFlowContextin interfaceTagCompiler
-
compileBlockContext
public final void compileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) - Specified by:
compileBlockContextin interfaceTagCompiler
-