Properties

$types

$types : \WikiLingo\Expression\*[]

Type

\WikiLingo\Expression\*[]

$typesCount

$typesCount : array

Type

array

$skipExpressions

$skipExpressions : bool

Type

bool

$pluginStack

$pluginStack

$pluginStackCount

$pluginStackCount

$pluginInstances

$pluginInstances

$plugins

$plugins : \WikiLingo\Plugin\*[]

Type

\WikiLingo\Plugin\*[]

$originalInput

$originalInput : string

Type

string

$linkStack

$linkStack

$blocks

$blocks : \WikiLingo\Expression\Block[]

Type

\WikiLingo\Expression\Block[]

$blocksLength

$blocksLength

$tableStack

$tableStack

$allowsMutation

$allowsMutation

$verbose

$verbose

Methods

addType()

addType( $type) : \WikiLingo\Number

Parameters

$type

Returns

\WikiLingo\Number

clearTypes()

clearTypes()

Clears all expression types

stackPlugin()

stackPlugin(String $name)

Stacks plugins for execution, since plugins can be called within each other.

Parameters

String $name

isContent()

isContent(array $skipTypes) : string

Detects if we are in a state that we can call the lexed grammer 'content'. Since the execution technique from the parser is inside-out, this helps us reverse the execution from outside-in in some cases.

Parameters

array $skipTypes

Returns

string —

true if content is current not parse-able

removeEOF()

removeEOF( $output)

Parameters

$output