MediaWiki  1.23.2
ConfEditorToken Class Reference

Class to wrap a token from the tokenizer. More...

Public Member Functions

 __construct ( $type, $text)
 
 isEnd ()
 
 isScalar ()
 
 isSkip ()
 

Static Public Member Functions

static newEnd ()
 

Public Attributes

 $text
 
 $type
 

Static Public Attributes

static $scalarTypes = array( T_LNUMBER, T_DNUMBER, T_STRING, T_CONSTANT_ENCAPSED_STRING )
 
static $skipTypes = array( T_WHITESPACE, T_COMMENT, T_DOC_COMMENT )
 

Detailed Description

Class to wrap a token from the tokenizer.

Definition at line 1099 of file ConfEditor.php.

Constructor & Destructor Documentation

◆ __construct()

ConfEditorToken::__construct (   $type,
  $text 
)

Definition at line 1109 of file ConfEditor.php.

References $text, $type, text, and type.

Member Function Documentation

◆ isEnd()

ConfEditorToken::isEnd ( )

Definition at line 1122 of file ConfEditor.php.

References type.

◆ isScalar()

ConfEditorToken::isScalar ( )

Definition at line 1118 of file ConfEditor.php.

References type.

◆ isSkip()

ConfEditorToken::isSkip ( )

Definition at line 1114 of file ConfEditor.php.

References type.

◆ newEnd()

static ConfEditorToken::newEnd ( )
static

Member Data Documentation

◆ $scalarTypes

ConfEditorToken::$scalarTypes = array( T_LNUMBER, T_DNUMBER, T_STRING, T_CONSTANT_ENCAPSED_STRING )
static

Definition at line 1102 of file ConfEditor.php.

◆ $skipTypes

ConfEditorToken::$skipTypes = array( T_WHITESPACE, T_COMMENT, T_DOC_COMMENT )
static

Definition at line 1103 of file ConfEditor.php.

◆ $text

ConfEditorToken::$text

Definition at line 1100 of file ConfEditor.php.

Referenced by __construct().

◆ $type

ConfEditorToken::$type

Definition at line 1100 of file ConfEditor.php.

Referenced by __construct().


The documentation for this class was generated from the following file: