\Luxor_SimpleParse

$Horde: luxor/lib/SimpleParse.php,v 1.10 2005/06/13 03:20:27 selsky Exp $

Summary

Methods
Properties
Constants
Luxor_SimpleParse()
nextFrag()
$_fileh
$_line
$_frags
$_bodyid
$_term
$_split
$_open
$_tabwidth
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_fileh

$_fileh : 

File handle.

Type

$_line

$_line : 

Current linenumber.

Type

$_frags

$_frags : 

Fragments in queue.

Type

$_bodyid

$_bodyid : 

Array of body type ids.

Type

$_term

$_term : 

Fragment closing delimiters.

Type

$_split

$_split : 

Fragmentation regexp.

Type

$_open

$_open : 

Fragment opening regexp.

Type

$_tabwidth

$_tabwidth : 

Tab width.

Type

Methods

Luxor_SimpleParse()

Luxor_SimpleParse(  $fileh, integer  $tabhint, array  $blksep) 

Constructor for the source code parser.

Parameters

$fileh
integer $tabhint

(Unused?)

array $blksep

An array containing block seperators for this file's type. Essentially a 'spec' entry from the $languages array.

nextFrag()

nextFrag() 

Returns the content and type of the next code fragment.