Properties

$symbols

$symbols

$terminals

$terminals

$productions

$productions

$table

$table

$defaultActions

$defaultActions

$version

$version

$debug

$debug

$none

$none

$shift

$shift

$reduce

$reduce

$accept

$accept

$eof

$eof

$yy

$yy

$match

$match

$conditionStack

$conditionStack

$conditionStackCount

$conditionStackCount

$rules

$rules

$conditions

$conditions

$done

$done

$less

$less

$more

$more

$input

$input

$offset

$offset

$ranges

$ranges

$flex

$flex

$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

trace()

trace()

__construct()

__construct()

parserPerformAction()

parserPerformAction( $thisS,  $yy,  $yystate,  $s,  $o)

Parameters

$thisS
$yy
$yystate
$s
$o

parserLex()

parserLex()

lexerError()

lexerError( $str, \WikiLingo\LexerError $hash)

Parameters

$str
\WikiLingo\LexerError $hash

parse()

parse( $input)

Parameters

$input

setInput()

setInput( $input)

Parameters

$input

input()

input()

unput()

unput( $ch)

Parameters

$ch

more()

more()

pastInput()

pastInput()

upcomingInput()

upcomingInput()

showPosition()

showPosition()

next()

next()

lexerLex()

lexerLex()

begin()

begin( $condition)

Parameters

$condition

popState()

popState()

currentRules()

currentRules()

LexerPerformAction()

LexerPerformAction( $avoidingNameCollisions,  $YY_START)

Parameters

$avoidingNameCollisions
$YY_START

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