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

Class: PHP_ParserGenerator

Source Location: /PHP_ParserGenerator-0.1.5/ParserGenerator.php

Class Overview


The basic home class for the parser generator


Author(s):

Version:

  • 0.1.5

Copyright:

  • 2006 Gregory Beaver

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 91]
The basic home class for the parser generator
  • Author: Gregory Beaver <cellog@php.net>
  • Version: 0.1.5
  • Copyright: 2006 Gregory Beaver
  • Since: Class available since Release 0.1.0
  • Example: example not found
  • Example: example not found
  • Example: example not found
  • License: New BSD License


[ Top ]


Class Variables

$azDefine = array()

[line 101]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

ErrorMsg   [line 659]

void ErrorMsg( $filename, $lineno, $format)


Parameters:

   $filename   — 
   $lineno   — 
   $format   — 

[ Top ]

findbreak   [line 642]

void findbreak( $msg, $min, $max)


Parameters:

   $msg   — 
   $min   — 
   $max   — 

[ Top ]

handleflags   [line 159]

int handleflags( int $i, array $argv)

Process a flag command line argument.

Parameters:

int   $i   — 
array   $argv   — 

[ Top ]

handleswitch   [line 184]

int handleswitch( int $i, array $argv, array 2)

Process a command line switch which has an argument.

Parameters:

array   2   — 
int   $i   — 
array   $argv   — 

[ Top ]

main   [line 410]

void main( )

************** From the file "main.c" ***********************************

[ Top ]

merge   [line 562]

void merge( $a, $b, $cmp, $offset)

Merge in a merge sort for a linked list Inputs:
  • a: A sorted, null-terminated linked list. (May be null).

  • b: A sorted, null-terminated linked list. (May be null).
  • cmp: A pointer to the comparison function.
  • offset: Offset in the structure to the "next" field.
Return Value: A pointer to the head of a sorted list containing the elements of both a and b.

Side effects: The "next" pointers for elements in the lists a and b are changed.


Parameters:

   $a   — 
   $b   — 
   $cmp   — 
   $offset   — 

[ Top ]

msort   [line 611]

void msort( $list, $next, $cmp)


Parameters:

   $list   — 
   $next   — 
   $cmp   — 

[ Top ]

OptInit   [line 250]

int OptInit( array $a, array 1)


Parameters:

array   1   —  valid options
array   $a   —  arguments

[ Top ]

OptNArgs   [line 317]

int OptNArgs( $a)

  • Return: number of arguments

Parameters:

   $a   — 

[ Top ]

OptPrint   [line 337]

void OptPrint( )

Print out command-line options

[ Top ]

Reprint   [line 703]

void Reprint( )

Duplicate the input file without comments and without actions

on rules


[ Top ]

SetSize   [line 541]

void SetSize( $n)


Parameters:

   $n   — 

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:43:59 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.