[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/extensions/Webservices/third-party/ParserGenerator/ -> Action.php (summary)

PHP_ParserGenerator, a php 5 parser generator. This is a direct port of the Lemon parser generator, found at {@link http://www.hwaci.com/sw/lemon/}

Author: Gregory Beaver <[email protected]>
Copyright: 2006 Gregory Beaver
License: http://www.php.net/license/3_01.txt PHP License 3.01
Version: CVS: $Id$
File Size: 180 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHP_ParserGenerator_Action:: (4 methods):
  actioncmp()
  Action_add()
  Action_sort()
  PrintAction()


Class: PHP_ParserGenerator_Action  - X-Ref

Every shift or reduce operation is stored as one of the following objects.

actioncmp(PHP_ParserGenerator_Action $ap1,PHP_ParserGenerator_Action $ap2)   X-Ref
Compare two actions

This is used by {@link Action_sort()} to compare actions

Action_add(&$app, $type, PHP_ParserGenerator_Symbol $sp, $arg)   X-Ref
create linked list of PHP_ParserGenerator_Actions

param: PHP_ParserGenerator_Action|null
param: int one of the class constants from PHP_ParserGenerator_Action
param: PHP_ParserGenerator_Symbol
param: PHP_ParserGenerator_Symbol|PHP_ParserGenerator_Rule

Action_sort(PHP_ParserGenerator_Action $ap)   X-Ref
Sort parser actions


PrintAction($fp, $indent)   X-Ref
Print an action to the given file descriptor.  Return FALSE if
nothing was actually printed.




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1