Package guideme.compiler.tags
Class FlowTagCompiler
java.lang.Object
guideme.compiler.tags.FlowTagCompiler
- All Implemented Interfaces:
TagCompiler
,Extension
- Direct Known Subclasses:
ATagCompiler
,BreakCompiler
,FloatingImageCompiler
,ItemLinkCompiler
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
compile
(PageCompiler compiler, LytFlowParent parent, guideme.libs.mdast.mdx.model.MdxJsxElementFields el) final void
compileBlockContext
(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) 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
-
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:
compileFlowContext
in interfaceTagCompiler
-
compileBlockContext
public final void compileBlockContext(PageCompiler compiler, LytBlockContainer parent, guideme.libs.mdast.mdx.model.MdxJsxFlowElement el) - Specified by:
compileBlockContext
in interfaceTagCompiler
-