PHP_ParserGenerator
[ class tree: PHP_ParserGenerator ] [ index: PHP_ParserGenerator ] [ all elements ]

Element index for package PHP_ParserGenerator

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ k ] [ l ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ w ] [ x ] [ y ] [ _ ]

_

__construct
in file Parser.php, method PHP_ParserGenerator_Parser::__construct()
__destruct
in file Lempar.php, function __destruct()
    Deallocate and destroy a parser. Destructors are all called for all stack elements before shutting the parser down.
top

a

$aAction
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$aAction
    The $yy_action table under construction.
$accept
in file Data.php, variable PHP_ParserGenerator_Data::$accept
    Code to execute when the parser acccepts (completes parsing)
$acceptln
in file Data.php, variable PHP_ParserGenerator_Data::$acceptln
    Line number for the start of accept code
$alias
in file Parser.php, variable PHP_ParserGenerator_Parser::$alias
    Aliases for each RHS symbol name (or NULL)
$aLookahead
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$aLookahead
    A single new transaction set.
$ap
in file State.php, variable PHP_ParserGenerator_State::$ap
    Linked list of actions for this state.
$argv0
in file Data.php, variable PHP_ParserGenerator_Data::$argv0
    Name of the program
$assoc
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$assoc
    Associativity if precedence is defined.
$azDefine
in file ParserGenerator.php, variable PHP_ParserGenerator::$azDefine
ACCEPT
in file Action.php, class constant PHP_ParserGenerator_Action::ACCEPT
actioncmp
in file Action.php, method PHP_ParserGenerator_Action::actioncmp()
    Compare two actions
Action_add
in file Action.php, method PHP_ParserGenerator_Action::Action_add()
    create linked list of PHP_ParserGenerator_Actions
Action_sort
in file Action.php, method PHP_ParserGenerator_Action::Action_sort()
    Sort parser actions
acttab_action
in file ActionTable.php, method PHP_ParserGenerator_ActionTable::acttab_action()
    Add a new action to the current transaction set
acttab_insert
in file ActionTable.php, method PHP_ParserGenerator_ActionTable::acttab_insert()
    Add the transaction set built up with prior calls to acttab_action() into the current action table. Then reset the transaction set back to an empty set in preparation for a new round of acttab_action() calls.
append_str
in file Data.php, method PHP_ParserGenerator_Data::append_str()
    Append text to a dynamically allocated string. If zText is 0 then reset the string to be empty again. Always return the complete text of the string (which is overwritten with each call).
axset_compare
in file Data.php, method PHP_ParserGenerator_Data::axset_compare()
    Compare to axset structures for sorting purposes
Action.php
procedural page Action.php
ActionTable.php
procedural page ActionTable.php
top

b

$basis
in file Config.php, variable PHP_ParserGenerator_Config::$basis
    Top of the list of basis configurations for the current state.
$basisend
in file Config.php, variable PHP_ParserGenerator_Config::$basisend
    Last on the list of basis configurations for the current state.
$basisflag
in file Data.php, variable PHP_ParserGenerator_Data::$basisflag
    Public only basis configurations
$bp
in file State.php, variable PHP_ParserGenerator_State::$bp
    The basis configurations for this state
$bp
in file Config.php, variable PHP_ParserGenerator_Config::$bp
    Index of the next basis configuration PHP_ParserGenerator_Config object
$bplp
in file Config.php, variable PHP_ParserGenerator_Config::$bplp
    Follow-set backwards propagation links
top

c

$canReduce
in file Rule.php, variable PHP_ParserGenerator_Rule::$canReduce
    True if this rule is ever reduced
$cfp
in file PropagationLink.php, variable PHP_ParserGenerator_PropagationLink::$cfp
    The configuration that defines this propagation link
$cfp
in file State.php, variable PHP_ParserGenerator_State::$cfp
    All configurations in this state
$code
in file Rule.php, variable PHP_ParserGenerator_Rule::$code
    The code executed when this rule is reduced
$current
in file Config.php, variable PHP_ParserGenerator_Config::$current
    Top of the list of configurations for the current state.
$currentend
in file Config.php, variable PHP_ParserGenerator_Config::$currentend
    Last on the list of configurations for the current state.
COMPLETE
in file Config.php, class constant PHP_ParserGenerator_Config::COMPLETE
CompressTables
in file Data.php, method PHP_ParserGenerator_Data::CompressTables()
    Reduce the size of the action tables, if possible, by making use of defaults.
compute_action
in file Data.php, method PHP_ParserGenerator_Data::compute_action()
    Given an action, compute the integer value for that action which is to be put in the action table of the generated machine.
Configcmp
in file Config.php, method PHP_ParserGenerator_Config::Configcmp()
    Compare two configurations for sorting purposes.
Configlist_add
in file Config.php, method PHP_ParserGenerator_Config::Configlist_add()
    Add another configuration to the configuration list for this parser state.
Configlist_addbasis
in file Config.php, method PHP_ParserGenerator_Config::Configlist_addbasis()
    Add a basis configuration to the configuration list for this parser state.
Configlist_basis
in file Config.php, method PHP_ParserGenerator_Config::Configlist_basis()
    Return a pointer to the head of the basis list and
Configlist_closure
in file Config.php, method PHP_ParserGenerator_Config::Configlist_closure()
    Compute the closure of the configuration list.
Configlist_eat
in file Config.php, method PHP_ParserGenerator_Config::Configlist_eat()
    Free all elements of the given configuration list
Configlist_init
in file Config.php, method PHP_ParserGenerator_Config::Configlist_init()
    Initialize the configuration list builder for a new state.
Configlist_reset
in file Config.php, method PHP_ParserGenerator_Config::Configlist_reset()
    Reset the configuration list builder for a new state.
Configlist_return
in file Config.php, method PHP_ParserGenerator_Config::Configlist_return()
    Return a pointer to the head of the configuration list and
Configlist_sort
in file Config.php, method PHP_ParserGenerator_Config::Configlist_sort()
    Sort the configuration list
Configlist_sortbasis
in file Config.php, method PHP_ParserGenerator_Config::Configlist_sortbasis()
    Sort the configuration list
ConfigPrint
in file Config.php, method PHP_ParserGenerator_Config::ConfigPrint()
    Print out information on this configuration.
Configshow
in file Config.php, method PHP_ParserGenerator_Config::Configshow()
    Display the current configuration for the .out file
Configtable_clear
in file Config.php, method PHP_ParserGenerator_Config::Configtable_clear()
    Remove all data from the associative array representation of configurations.
Configtable_find
in file Config.php, method PHP_ParserGenerator_Config::Configtable_find()
    Return a pointer to data assigned to the given key. Return NULL if no such key.
Configtable_insert
in file Config.php, method PHP_ParserGenerator_Config::Configtable_insert()
    Insert a new record into the array. Return TRUE if successful.
Configtable_reset
in file Config.php, method PHP_ParserGenerator_Config::Configtable_reset()
    Remove all data from the table.
CONFLICT
in file Action.php, class constant PHP_ParserGenerator_Action::CONFLICT
cli.php
procedural page cli.php
Config.php
procedural page Config.php
top

d

$data
in file State.php, variable PHP_ParserGenerator_StateNode::$data
$datatype
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$datatype
    Unused relic of the C version of Lemon.
$declare_classcode
in file Data.php, variable PHP_ParserGenerator_Data::$declare_classcode
    Line number for class declaration code
$declare_classln
in file Data.php, variable PHP_ParserGenerator_Data::$declare_classln
    Line number for start of class declaration code
$declargslot
in file Parser.php, variable PHP_ParserGenerator_Parser::$declargslot
    Where the declaration argument should be put
$declassoc
in file Parser.php, variable PHP_ParserGenerator_Parser::$declassoc
$declkeyword
in file Parser.php, variable PHP_ParserGenerator_Parser::$declkeyword
    Keyword of a declaration
$decllnslot
in file Parser.php, variable PHP_ParserGenerator_Parser::$decllnslot
    Where the declaration linenumber is put
$destructor
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$destructor
    Code that executes whenever this symbol is popped from the stack during error processing.
$destructorln
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$destructorln
    Line number of destructor code
$dot
in file Config.php, variable PHP_ParserGenerator_Config::$dot
    The parse point.
$dtnum
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$dtnum
    Unused relic of the C version of Lemon.
DEBUG
in file ParserGenerator.php, class constant PHP_ParserGenerator::DEBUG
    Set this to 1 to turn on debugging of Lemon's parsing of grammar files.
DEBUG
in file Main.php, constant DEBUG
display
in file Action.php, method PHP_ParserGenerator_Action::display()
doParse
in file Lempar.php, function doParse()
    The main parser program.
Data.php
procedural page Data.php
top

e

$error
in file Data.php, variable PHP_ParserGenerator_Data::$error
    Code to execute when a syntax error is seen
$errorcnt
in file Parser.php, variable PHP_ParserGenerator_Parser::$errorcnt
    Number of parsing errors so far
$errorcnt
in file Data.php, variable PHP_ParserGenerator_Data::$errorcnt
    Number of errors
$errorln
in file Data.php, variable PHP_ParserGenerator_Data::$errorln
    Line number for start of error code
$errsym
in file Data.php, variable PHP_ParserGenerator_Data::$errsym
    The error symbol
$extracode
in file Data.php, variable PHP_ParserGenerator_Data::$extracode
    Code appended to the generated file
$extracodeln
in file Data.php, variable PHP_ParserGenerator_Data::$extracodeln
    Line number for the start of the extra code
emit_code
in file Data.php, method PHP_ParserGenerator_Data::emit_code()
    Generate code which executes when the rule "rp" is reduced. Write the code to "out". Make sure lineno stays up-to-date.
emit_destructor_code
in file Data.php, method PHP_ParserGenerator_Data::emit_destructor_code()
    The following routine emits code for the destructor for the
ERROR
in file Action.php, class constant PHP_ParserGenerator_Action::ERROR
ErrorMsg
in file ParserGenerator.php, method PHP_ParserGenerator::ErrorMsg()
top

f

$failure
in file Data.php, variable PHP_ParserGenerator_Data::$failure
    Code to execute on parser failure
$failureln
in file Data.php, variable PHP_ParserGenerator_Data::$failureln
    Line number for start of failure code
$fallback
in file Parser.php, variable PHP_ParserGenerator_Parser::$fallback
    The fallback token
$fallback
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$fallback
    Fallback token in case this token doesn't parse
$filename
in file Parser.php, variable PHP_ParserGenerator_Parser::$filename
    Name of the input file
$filename
in file Data.php, variable PHP_ParserGenerator_Data::$filename
    Name of the input file
$filenosuffix
in file Data.php, variable PHP_ParserGenerator_Data::$filenosuffix
    Name of the input file without its extension
$firstrule
in file Parser.php, variable PHP_ParserGenerator_Parser::$firstrule
$firstset
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$firstset
    First-set for all rules of this symbol
$fplp
in file Config.php, variable PHP_ParserGenerator_Config::$fplp
    Follow-set forward propagation links.
$from
in file State.php, variable PHP_ParserGenerator_StateNode::$from
$fws
in file Config.php, variable PHP_ParserGenerator_Config::$fws
    Follow-set for this configuration only
FindActions
in file Data.php, method PHP_ParserGenerator_Data::FindActions()
    Compute the reduce actions, and resolve conflicts.
findbreak
in file ParserGenerator.php, method PHP_ParserGenerator::findbreak()
FindFirstSets
in file Data.php, method PHP_ParserGenerator_Data::FindFirstSets()
    Find all nonterminals which will generate the empty string.
FindFollowSets
in file Data.php, method PHP_ParserGenerator_Data::FindFollowSets()
    Compute all followsets.
FindLinks
in file Data.php, method PHP_ParserGenerator_Data::FindLinks()
    Construct the propagation links
FindRulePrecedences
in file Data.php, method PHP_ParserGenerator_Data::FindRulePrecedences()
FindStates
in file Data.php, method PHP_ParserGenerator_Data::FindStates()
    Compute all LR(0) states for the grammar. Links are added to between some states so that the LR(1) follow sets can be computed later.
top

g

$gp
in file Parser.php, variable PHP_ParserGenerator_Parser::$gp
    Global state vector
top

h

$has_fallback
in file Data.php, variable PHP_ParserGenerator_Data::$has_fallback
    True if any %fallback is seen in the grammer
handleflags
in file ParserGenerator.php, method PHP_ParserGenerator::handleflags()
    Process a flag command line argument.
handleswitch
in file ParserGenerator.php, method PHP_ParserGenerator::handleswitch()
    Process a command line switch which has an argument.
top

i

$iDflt
in file State.php, variable PHP_ParserGenerator_State::$iDflt
    Default action
$includeln
in file Data.php, variable PHP_ParserGenerator_Data::$includeln
    Line number for start of include code
$include_classcode
in file Data.php, variable PHP_ParserGenerator_Data::$include_classcode
    Code to put in the parser class
$include_classln
in file Data.php, variable PHP_ParserGenerator_Data::$include_classln
    Line number for start of include code
$include_code
in file Data.php, variable PHP_ParserGenerator_Data::$include_code
    Code to put at the start of the parser file
$index
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$index
    Index of this symbol.
$index
in file Rule.php, variable PHP_ParserGenerator_Rule::$index
    An index number for this rule
$iNtOfst
in file State.php, variable PHP_ParserGenerator_State::$iNtOfst
$iTknOfst
in file State.php, variable PHP_ParserGenerator_State::$iTknOfst
    The offset into the $yy_action table for terminal tokens.
INCOMPLETE
in file Config.php, class constant PHP_ParserGenerator_Config::INCOMPLETE
INITIALIZE
in file Parser.php, class constant PHP_ParserGenerator_Parser::INITIALIZE
IN_RHS
in file Parser.php, class constant PHP_ParserGenerator_Parser::IN_RHS
top

k

$key
in file State.php, variable PHP_ParserGenerator_StateNode::$key
top

l

$lambda
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$lambda
    True if this symbol is a non-terminal and can generate an empty result.
$lastrule
in file Parser.php, variable PHP_ParserGenerator_Parser::$lastrule
$lhs
in file Parser.php, variable PHP_ParserGenerator_Parser::$lhs
    Left-hand side of the current rule
$lhs
in file Rule.php, variable PHP_ParserGenerator_Rule::$lhs
    Left-hand side of the rule
$lhsalias
in file Parser.php, variable PHP_ParserGenerator_Parser::$lhsalias
    Alias for the LHS
$lhsalias
in file Rule.php, variable PHP_ParserGenerator_Rule::$lhsalias
    Alias for the LHS (NULL if none)
$line
in file Rule.php, variable PHP_ParserGenerator_Rule::$line
    Line number at which code begins
LEFT
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::LEFT
LHS_ALIAS_1
in file Parser.php, class constant PHP_ParserGenerator_Parser::LHS_ALIAS_1
LHS_ALIAS_2
in file Parser.php, class constant PHP_ParserGenerator_Parser::LHS_ALIAS_2
LHS_ALIAS_3
in file Parser.php, class constant PHP_ParserGenerator_Parser::LHS_ALIAS_3
Lemon.php
procedural page Lemon.php
Lempar.php
procedural page Lempar.php
top

m

$mnAction
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$mnAction
    The action associated with the smallest lookahead token.
$mnLookahead
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$mnLookahead
    The smallest (minimum) value of any lookahead token in $aLookahead
$mxLookahead
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$mxLookahead
    The largest (maximum) value of any lookahead token in $aLookahead
main
in file ParserGenerator.php, method PHP_ParserGenerator::main()
    The main program. Parse the command line and do it...
MAXRHS
in file ParserGenerator.php, class constant PHP_ParserGenerator::MAXRHS
merge
in file ParserGenerator.php, method PHP_ParserGenerator::merge()
    Merge in a merge sort for a linked list
msort
in file ParserGenerator.php, method PHP_ParserGenerator::msort()
    Side effects: The "next" pointers for elements in list are changed.
MULTITERMINAL
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::MULTITERMINAL
    Multiple terminal symbols.
Main.php
procedural page Main.php
top

n

$nAction
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$nAction
    Number of used slots in $aAction
$name
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$name
    Name of the symbol
$name
in file Data.php, variable PHP_ParserGenerator_Data::$name
    Name of the generated parser
$nconflict
in file Data.php, variable PHP_ParserGenerator_Data::$nconflict
    Number of parsing conflicts
$next
in file Config.php, variable PHP_ParserGenerator_Config::$next
    Next configuration in the state.
$next
in file Action.php, variable PHP_ParserGenerator_Action::$next
    The next action for this state.
$next
in file State.php, variable PHP_ParserGenerator_StateNode::$next
$next
in file Rule.php, variable PHP_ParserGenerator_Rule::$next
    Next rule in the global list
$next
in file PropagationLink.php, variable PHP_ParserGenerator_PropagationLink::$next
    The next propagation link
$nextlhs
in file Rule.php, variable PHP_ParserGenerator_Rule::$nextlhs
    Next rule with the same left-hand side
$nLookahead
in file ActionTable.php, variable PHP_ParserGenerator_ActionTable::$nLookahead
    The number of slots used in $aLookahead.
$nNtAct
in file State.php, variable PHP_ParserGenerator_State::$nNtAct
$nrhs
in file Parser.php, variable PHP_ParserGenerator_Parser::$nrhs
    Number of right-hand side symbols seen
$nrhs
in file Rule.php, variable PHP_ParserGenerator_Rule::$nrhs
    Number of right-hand side symbols
$nrule
in file Data.php, variable PHP_ParserGenerator_Data::$nrule
    Number of rules
$nstate
in file Data.php, variable PHP_ParserGenerator_Data::$nstate
    Number of states
$nsubsym
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$nsubsym
    Number of terminal symbols in the MULTITERMINAL
$nsymbol
in file Data.php, variable PHP_ParserGenerator_Data::$nsymbol
    Number of terminal and nonterminal symbols
$nterminal
in file Data.php, variable PHP_ParserGenerator_Data::$nterminal
    Number of terminal symbols (tokens)
$nTknAct
in file State.php, variable PHP_ParserGenerator_State::$nTknAct
    Number of terminal (token) actions
NONE
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::NONE
NONTERMINAL
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::NONTERMINAL
    Symbols that start with a lower-case letter like foo.
NOT_USED
in file Action.php, class constant PHP_ParserGenerator_Action::NOT_USED
NO_OFFSET
in file Main.php, constant NO_OFFSET
NO_OFFSET
in file Data.php, class constant PHP_ParserGenerator_Data::NO_OFFSET
    Used for terminal and non-terminal offsets into the action table
top

o

$outname
in file Data.php, variable PHP_ParserGenerator_Data::$outname
    Name of the current output file
$overflow
in file Data.php, variable PHP_ParserGenerator_Data::$overflow
    Code to execute on a stack overflow
$overflowln
in file Data.php, variable PHP_ParserGenerator_Data::$overflowln
    Line number for start of overflow code
OptInit
in file ParserGenerator.php, method PHP_ParserGenerator::OptInit()
    OptInit
OptNArgs
in file ParserGenerator.php, method PHP_ParserGenerator::OptNArgs()
OptPrint
in file ParserGenerator.php, method PHP_ParserGenerator::OptPrint()
    Print out command-line options
OPT_DBL
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_DBL
OPT_FDBL
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_FDBL
OPT_FFLAG
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_FFLAG
OPT_FINT
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_FINT
OPT_FLAG
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_FLAG
OPT_FSTR
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_FSTR
OPT_INT
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_INT
OPT_STR
in file ParserGenerator.php, class constant PHP_ParserGenerator::OPT_STR
oops.php
procedural page oops.php
top

p

$parser_template
in file Data.php, variable PHP_ParserGenerator_Data::$parser_template
    Alternate parser template file
$prec
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$prec
    Precendence, if defined.
$preccounter
in file Parser.php, variable PHP_ParserGenerator_Parser::$preccounter
$precsym
in file Rule.php, variable PHP_ParserGenerator_Rule::$precsym
    Precedence symbol for this rule
$prevrule
in file Parser.php, variable PHP_ParserGenerator_Parser::$prevrule
    Previous rule parsed
Parse
in file Parser.php, method PHP_ParserGenerator_Parser::Parse()
    In spite of its name, this function is really a scanner.
parseonetoken
in file Parser.php, method PHP_ParserGenerator_Parser::parseonetoken()
    Parse a single token
PHP_ParserGenerator
in file ParserGenerator.php, class PHP_ParserGenerator
    The basic home class for the parser generator
Parser.php
procedural page Parser.php
parsephp.php
procedural page parsephp.php
Parser.php
procedural page Parser.php
PropagationLink.php
procedural page PropagationLink.php
ParserGenerator.php
procedural page ParserGenerator.php
PHP.php
procedural page PHP.php
PHP_Parser.php
procedural page PHP_Parser.php
PHP_ParserGenerator_Action
in file Action.php, class PHP_ParserGenerator_Action
    Every shift or reduce operation is stored as one of the following objects.
PHP_ParserGenerator_ActionTable
in file ActionTable.php, class PHP_ParserGenerator_ActionTable
    The state of the yy_action table under construction is an instance of the following structure
PHP_ParserGenerator_Config
in file Config.php, class PHP_ParserGenerator_Config
    a mark (dot) showing how much of that rule has been processed so far.
PHP_ParserGenerator_Data
in file Data.php, class PHP_ParserGenerator_Data
    The state vector for the entire parser generator is recorded in this class.
PHP_ParserGenerator_Parser
in file Parser.php, class PHP_ParserGenerator_Parser
    The grammar parser for lemon grammar files.
PHP_ParserGenerator_PropagationLink
in file PropagationLink.php, class PHP_ParserGenerator_PropagationLink
    A followset propagation link indicates that the contents of one configuration followset should be propagated to another whenever the first changes.
PHP_ParserGenerator_Rule
in file Rule.php, class PHP_ParserGenerator_Rule
    Each production rule in the grammar is stored in this class
PHP_ParserGenerator_State
in file State.php, class PHP_ParserGenerator_State
    Each state of the generated parser's finite state machine is encoded as an instance of this class
PHP_ParserGenerator_StateNode
in file State.php, class PHP_ParserGenerator_StateNode
    The structure used to represent a state in the associative array for a PHP_ParserGenerator_Config.
PHP_ParserGenerator_Symbol
in file Symbol.php, class PHP_ParserGenerator_Symbol
    Symbols (terminals and nonterminals) of the grammar are stored in this class
Plink_add
in file PropagationLink.php, method PHP_ParserGenerator_PropagationLink::Plink_add()
    Add a propagation link to the current list
Plink_copy
in file PropagationLink.php, method PHP_ParserGenerator_PropagationLink::Plink_copy()
    Transfer every propagation link on the list "from" to the list "to"
Plink_delete
in file PropagationLink.php, method PHP_ParserGenerator_PropagationLink::Plink_delete()
    Delete every propagation link on the list
PRECEDENCE_MARK_1
in file Parser.php, class constant PHP_ParserGenerator_Parser::PRECEDENCE_MARK_1
PRECEDENCE_MARK_2
in file Parser.php, class constant PHP_ParserGenerator_Parser::PRECEDENCE_MARK_2
PrintAction
in file Action.php, method PHP_ParserGenerator_Action::PrintAction()
    Print an action to the given file descriptor. Return FALSE if nothing was actually printed.
PrintTrace
in file Lempar.php, function PrintTrace()
    Output debug information to output (php://output stream)
top

r

$rhs
in file Rule.php, variable PHP_ParserGenerator_Rule::$rhs
    The right-hand side symbols
$rhs
in file Parser.php, variable PHP_ParserGenerator_Parser::$rhs
    Right-hand side symbols
$rhsalias
in file Rule.php, variable PHP_ParserGenerator_Rule::$rhsalias
    Aliases for each right-hand side symbol, or null if no alis.
$rp
in file Config.php, variable PHP_ParserGenerator_Config::$rp
    The parser rule upon with the configuration is based.
$rule
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$rule
    Linked list of rules that use this symbol, if it is a non-terminal.
$rule
in file Data.php, variable PHP_ParserGenerator_Data::$rule
    List of all rules
$ruleline
in file Rule.php, variable PHP_ParserGenerator_Rule::$ruleline
    Line number for the rule
Rule.php
procedural page Rule.php
RD_RESOLVED
in file Action.php, class constant PHP_ParserGenerator_Action::RD_RESOLVED
REDUCE
in file Action.php, class constant PHP_ParserGenerator_Action::REDUCE
ReportOutput
in file Data.php, method PHP_ParserGenerator_Data::ReportOutput()
    Generate the "Parse.out" log file
ReportTable
in file Data.php, method PHP_ParserGenerator_Data::ReportTable()
    Generate C source code for the parser
Reprint
in file ParserGenerator.php, method PHP_ParserGenerator::Reprint()
    Duplicate the input file without comments and without actions on rules
resolve_conflict
in file Data.php, method PHP_ParserGenerator_Data::resolve_conflict()
    Resolve a conflict between the two given actions. If the conflict can't be resolve, return non-zero.
ResortStates
in file Data.php, method PHP_ParserGenerator_Data::ResortStates()
    Renumber and resort states so that states with fewer choices occur at the end. Except, keep state 0 as the first state.
RESYNC_AFTER_DECL_ERROR
in file Parser.php, class constant PHP_ParserGenerator_Parser::RESYNC_AFTER_DECL_ERROR
RESYNC_AFTER_RULE_ERROR
in file Parser.php, class constant PHP_ParserGenerator_Parser::RESYNC_AFTER_RULE_ERROR
RHS_ALIAS_1
in file Parser.php, class constant PHP_ParserGenerator_Parser::RHS_ALIAS_1
RHS_ALIAS_2
in file Parser.php, class constant PHP_ParserGenerator_Parser::RHS_ALIAS_2
RIGHT
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::RIGHT
top

s

$sorted
in file Data.php, variable PHP_ParserGenerator_Data::$sorted
    Table of states sorted by state number
$sp
in file Action.php, variable PHP_ParserGenerator_Action::$sp
    The look-ahead symbol that triggers this action
$stacksize
in file Data.php, variable PHP_ParserGenerator_Data::$stacksize
    Size of the parser stack
$start
in file Data.php, variable PHP_ParserGenerator_Data::$start
    Name of the start symbol for the grammar
$state
in file Parser.php, variable PHP_ParserGenerator_Parser::$state
    Parser state (one of the class constants for this class)
$statenum
in file State.php, variable PHP_ParserGenerator_State::$statenum
    Sequential number for this state
$states
in file State.php, variable PHP_ParserGenerator_State::$states
    Array of PHP_ParserGenerator_State objects
$status
in file Config.php, variable PHP_ParserGenerator_Config::$status
    Status during followset and shift computations.
$stp
in file Config.php, variable PHP_ParserGenerator_Config::$stp
    State that contains this configuration
$subsym
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$subsym
    Array of terminal symbols in the MULTITERMINAL
$symbols
in file Data.php, variable PHP_ParserGenerator_Data::$symbols
    Sorted array of pointers to symbols
State.php
procedural page State.php
Symbol.php
procedural page Symbol.php
same_symbol
in file Symbol.php, method PHP_ParserGenerator_Symbol::same_symbol()
    Return true if two symbols are the same.
SetSize
in file ParserGenerator.php, method PHP_ParserGenerator::SetSize()
    SetSize
SHIFT
in file Action.php, class constant PHP_ParserGenerator_Action::SHIFT
SH_RESOLVED
in file Action.php, class constant PHP_ParserGenerator_Action::SH_RESOLVED
sortSymbols
in file Symbol.php, method PHP_ParserGenerator_Symbol::sortSymbols()
    Sort function helper for symbols
statecmp
in file State.php, method PHP_ParserGenerator_State::statecmp()
    Compare two states based on their configurations
stateResortCompare
in file State.php, method PHP_ParserGenerator_State::stateResortCompare()
    Compare two states for sorting purposes. The smaller state is the one with the most non-terminal actions. If they have the same number of non-terminal actions, then the smaller is the one with the most token actions.
State_arrayof
in file State.php, method PHP_ParserGenerator_State::State_arrayof()
    Get an array indexed by state number
State_find
in file State.php, method PHP_ParserGenerator_State::State_find()
    Return a pointer to data assigned to the given key. Return NULL if no such key.
State_insert
in file State.php, method PHP_ParserGenerator_State::State_insert()
    Insert a new record into the array. Return TRUE if successful.
Symbol_arrayof
in file Symbol.php, method PHP_ParserGenerator_Symbol::Symbol_arrayof()
Symbol_count
in file Symbol.php, method PHP_ParserGenerator_Symbol::Symbol_count()
    Return the number of unique symbols
Symbol_find
in file Symbol.php, method PHP_ParserGenerator_Symbol::Symbol_find()
Symbol_new
in file Symbol.php, method PHP_ParserGenerator_Symbol::Symbol_new()
    Return a pointer to the (terminal or nonterminal) symbol "x".
top

t

$tablesize
in file Data.php, variable PHP_ParserGenerator_Data::$tablesize
    Size of the parse tables
$tokendest
in file Data.php, variable PHP_ParserGenerator_Data::$tokendest
    Code to execute to destroy token data
$tokendestln
in file Data.php, variable PHP_ParserGenerator_Data::$tokendestln
    Line number for token destroyer code
$tokenlineno
in file Parser.php, variable PHP_ParserGenerator_Parser::$tokenlineno
    Linenumber at which current token starts
$tokenprefix
in file Data.php, variable PHP_ParserGenerator_Data::$tokenprefix
    A prefix added to token names
$tokenstart
in file Parser.php, variable PHP_ParserGenerator_Parser::$tokenstart
    Index of current token within the input string
$tokentype
in file Data.php, variable PHP_ParserGenerator_Data::$tokentype
    Unused relic from the C version
$type
in file Symbol.php, variable PHP_ParserGenerator_Symbol::$type
    Symbol type
$type
in file Action.php, variable PHP_ParserGenerator_Action::$type
    This defines the kind of action, and must be one of the class constants.
test.php
procedural page test.php
Tokenizer.php
procedural page Tokenizer.php
TERMINAL
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::TERMINAL
    Symbols that start with a capital letter like FOO.
tokenName
in file Lempar.php, function tokenName()
    This function returns the symbolic name associated with a token value.
Trace
in file Lempar.php, function Trace()
    Turn parser tracing on by giving a stream to which to write the trace and a prompt to preface each trace message. Tracing is turned off by making either argument NULL
translate_code
in file Data.php, method PHP_ParserGenerator_Data::translate_code()
    zCode is a string that is the action associated with a rule. Expand the symbols in this string so that the refer to elements of the parser stack.
top

u

UNK
in file Symbol.php, class constant PHP_ParserGenerator_Symbol::UNK
top

v

$vardest
in file Data.php, variable PHP_ParserGenerator_Data::$vardest
    Code for the default non-terminal destructor
$vardestln
in file Data.php, variable PHP_ParserGenerator_Data::$vardestln
    Line number for default non-terminal destructor code
$vartype
in file Data.php, variable PHP_ParserGenerator_Data::$vartype
    Unused relic from the C version
top

w

WAITING_FOR_ARROW
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_ARROW
WAITING_FOR_DATATYPE_SYMBOL
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_DATATYPE_SYMBOL
WAITING_FOR_DECL_ARG
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_DECL_ARG
WAITING_FOR_DECL_KEYWORD
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_DECL_KEYWORD
WAITING_FOR_DECL_OR_RULE
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_DECL_OR_RULE
WAITING_FOR_DESTRUCTOR_SYMBOL
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_DESTRUCTOR_SYMBOL
WAITING_FOR_FALLBACK_ID
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_FALLBACK_ID
WAITING_FOR_PRECEDENCE_SYMBOL
in file Parser.php, class constant PHP_ParserGenerator_Parser::WAITING_FOR_PRECEDENCE_SYMBOL
top

x

$x
in file Action.php, variable PHP_ParserGenerator_Action::$x
    The new state, if this is a shift, the parser rule index, if this is a reduce.
$x3a
in file State.php, variable PHP_ParserGenerator_State::$x3a
    Associative array of PHP_ParserGenerator_State objects
$x4a
in file Config.php, variable PHP_ParserGenerator_Config::$x4a
    Associative array representation of the linked list of configurations found in $current
top

y

yy_accept
in file Lempar.php, function yy_accept()
    The following is executed when the parser accepts
yy_destructor
in file Lempar.php, function yy_destructor()
    The following function deletes the value associated with a symbol. The symbol can be either a terminal or nonterminal.
yy_find_reduce_action
in file Lempar.php, function yy_find_reduce_action()
    Find the appropriate action for a parser given the non-terminal look-ahead token $iLookAhead.
yy_find_shift_action
in file Lempar.php, function yy_find_shift_action()
    Find the appropriate action for a parser given the terminal look-ahead token iLookAhead.
yy_get_expected_tokens
in file Lempar.php, function yy_get_expected_tokens()
    Based on the current state and parser stack, get a list of all
yy_is_expected_token
in file Lempar.php, function yy_is_expected_token()
    Based on the parser state and current parser stack, determine whether the lookahead token is possible.
yy_parse_failed
in file Lempar.php, function yy_parse_failed()
    The following code executes when the parse fails
yy_pop_parser_stack
in file Lempar.php, function yy_pop_parser_stack()
    Pop the parser's stack once.
yy_reduce
in file Lempar.php, function yy_reduce()
    Perform a reduce action and the shift that must immediately follow the reduce.
yy_shift
in file Lempar.php, function yy_shift()
    Perform a shift action.
yy_syntax_error
in file Lempar.php, function yy_syntax_error()
    The following code executes when a syntax error first occurs.
top

Documentation generated on Mon, 25 Oct 2010 14:00:38 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.