AOWP


aowp.PHP_Parser_CoreyyToken
/parser/Parser/Core.php at line 11

Class PHP_Parser_CoreyyToken

PHP_Parser_CoreyyToken

public class PHP_Parser_CoreyyToken

This can be used to store both the string representation of a token, and any useful meta-data associated with the token.

meta-data should be stored as an array


Field Summary
mixed

$metadata

mixed

$string

Constructor Summary

PHP_Parser_CoreyyToken(mixed s, mixed m)

Method Summary
private void

__toString()

void

offsetExists(mixed offset)

void

offsetGet(mixed offset)

void

offsetSet(mixed offset, mixed value)

void

offsetUnset(mixed offset)

Field Detail

/parser/Parser/Core.php at line 14

metadata

public mixed $metadata = array()

/parser/Parser/Core.php at line 13

string

public mixed $string = ''

Constructor Detail

/parser/Parser/Core.php at line 16

PHP_Parser_CoreyyToken

public PHP_Parser_CoreyyToken(mixed s, mixed m)

Method Detail

/parser/Parser/Core.php at line 31

__toString

private void __toString()

/parser/Parser/Core.php at line 36

offsetExists

public void offsetExists(mixed offset)

/parser/Parser/Core.php at line 41

offsetGet

public void offsetGet(mixed offset)

/parser/Parser/Core.php at line 46

offsetSet

public void offsetSet(mixed offset, mixed value)

/parser/Parser/Core.php at line 69

offsetUnset

public void offsetUnset(mixed offset)

AOWP