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

Class: Lemon

Source Location: /PHP_ParserGenerator-0.1.7/Main.php

Class Overview




Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 2714]


[ Top ]


Class Variables

$azDefine = array()

[line 2719]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

ErrorMsg   [line 3275]

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


Parameters:

   $filename   — 
   $lineno   — 
   $format   — 

[ Top ]

findbreak   [line 3258]

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


Parameters:

   $msg   — 
   $min   — 
   $max   — 

[ Top ]

handleflags   [line 2777]

int handleflags( int $i, array $argv)

Process a flag command line argument.

Parameters:

int   $i   — 
array   $argv   — 

[ Top ]

handleswitch   [line 2802]

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 3026]

void main( )

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

[ Top ]

merge   [line 3178]

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 3227]

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


Parameters:

   $list   — 
   $next   — 
   $cmp   — 

[ Top ]

OptInit   [line 2868]

int OptInit( array $a, array 1)


Parameters:

array   1   —  valid options
array   $a   —  arguments

[ Top ]

OptNArgs   [line 2935]

int OptNArgs( $a)

  • Return: number of arguments

Parameters:

   $a   — 

[ Top ]

OptPrint   [line 2955]

void OptPrint( )

Print out command-line options

[ Top ]

Reprint   [line 3319]

void Reprint( )

Duplicate the input file without comments and without actions

on rules


[ Top ]

SetSize   [line 3157]

void SetSize( $n)


Parameters:

   $n   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.