PHP Class Youshido\GraphQL\Parser\Tokenizer

Show file Open project: youshido/graphql

Protected Properties

Property Type Description
$line
$lineStart
$lookAhead Token
$pos
$source

Protected Methods

Method Description
checkFragment ( )
createException ( $message )
createUnexpectedException ( Token $token )
createUnexpectedTokenTypeException ( $tokenType )
end ( )
expect ( $type )
getColumn ( )
getKeyword ( $name )
getLine ( )
getLocation ( )
initTokenizer ( $source )
lex ( )
match ( $type )
next ( )
peek ( )
scan ( ) : Token
scanNumber ( )
scanString ( )
scanWord ( )
skipInteger ( )
skipWhitespace ( )

Method Details

checkFragment() protected method

protected checkFragment ( )

createException() protected method

protected createException ( $message )

createUnexpectedException() protected method

protected createUnexpectedException ( Token $token )
$token Token

createUnexpectedTokenTypeException() protected method

protected createUnexpectedTokenTypeException ( $tokenType )

end() protected method

protected end ( )

expect() protected method

protected expect ( $type )

getColumn() protected method

protected getColumn ( )

getKeyword() protected method

protected getKeyword ( $name )

getLine() protected method

protected getLine ( )

getLocation() protected method

protected getLocation ( )

initTokenizer() protected method

protected initTokenizer ( $source )

lex() protected method

protected lex ( )

match() protected method

protected match ( $type )

next() protected method

protected next ( )

peek() protected method

protected peek ( )

scan() protected method

protected scan ( ) : Token
return Token

scanNumber() protected method

protected scanNumber ( )

scanString() protected method

protected scanString ( )

scanWord() protected method

protected scanWord ( )

skipInteger() protected method

protected skipInteger ( )

skipWhitespace() protected method

protected skipWhitespace ( )

Property Details

$line protected property

protected $line

$lineStart protected property

protected $lineStart

$lookAhead protected property

protected Token,Youshido\GraphQL\Parser $lookAhead
return Token

$pos protected property

protected $pos

$source protected property

protected $source