PHP Class PhpPeg\Rule

Author: Hamish Friedlander
Inheritance: extends PHPWriter
Datei anzeigen Open project: neos/flow-development-collection

Public Properties

Property Type Description
$argument_rx
$extends
$function_rx
$mode
$name
$replacement_rx
$rule
$rule_rx
$rx_rx

Protected Properties

Property Type Description
$lines
$parser

Public Methods

Method Description
__construct ( $parser, $lines )
compile ( $indent ) Generate the PHP code for a function to match against a string for this rule
parse_rule ( ) * Manual parsing, because we can't bootstrap ourselves yet
tokenize ( $str, &$tokens, $o )

Method Details

__construct() public method

public __construct ( $parser, $lines )

compile() public method

Generate the PHP code for a function to match against a string for this rule
public compile ( $indent )

parse_rule() public method

* Manual parsing, because we can't bootstrap ourselves yet
public parse_rule ( )

tokenize() public method

public tokenize ( $str, &$tokens, $o )

Property Details

$argument_rx static_oe public_oe property

static public $argument_rx

$extends public_oe property

public $extends

$function_rx static_oe public_oe property

static public $function_rx

$lines protected_oe property

protected $lines

$mode public_oe property

public $mode

$name public_oe property

public $name

$parser protected_oe property

protected $parser

$replacement_rx static_oe public_oe property

static public $replacement_rx

$rule public_oe property

public $rule

$rule_rx static_oe public_oe property

static public $rule_rx

$rx_rx static_oe public_oe property

static public $rx_rx