VariableInlineRule
extends AbstractInlineRule
in package
FinalYes
Rule to parse for inline variables such as |replace_me|
Table of Contents
Methods
- applies() : bool
- apply() : InlineNode|null
- getPriority() : int
- rollback() : void
Methods
applies()
public
applies(InlineLexer $lexer) : bool
Parameters
- $lexer : InlineLexer
Return values
boolapply()
public
apply(BlockContext $blockContext, InlineLexer $lexer) : InlineNode|null
Parameters
- $blockContext : BlockContext
- $lexer : InlineLexer
Return values
InlineNode|nullgetPriority()
public
getPriority() : int
Return values
introllback()
protected
rollback(InlineLexer $lexer, int $position) : void
Parameters
- $lexer : InlineLexer
- $position : int