PHP Class Youshido\GraphQL\Parser\Parser

Inheritance: extends Tokenizer
Afficher le fichier Open project: youshido/graphql Class Usage Examples

Méthodes publiques

Méthode Description
parse ( $source = null )

Méthodes protégées

Méthode Description
eat ( $type )
eatIdentifierToken ( )
eatMulti ( $types )
expectMulti ( $types )
findVariable ( $name )
matchMulti ( $types )
parseArgument ( )
parseArgumentList ( )
parseBody ( $token = Token::TYPE_QUERY, $highLevel = true )
parseBodyItem ( $type = Token::TYPE_QUERY, $highLevel = true )
parseFragment ( )
parseFragmentReference ( )
parseList ( $createType = true )
parseListValue ( )
parseObject ( $createType = true )
parseValue ( ) : array | InputList | InputObject | Literal | VariableReference
parseVariableReference ( )
parseVariables ( )

Private Methods

Méthode Description
init ( $source = null )

Method Details

eat() protected méthode

protected eat ( $type )

eatIdentifierToken() protected méthode

protected eatIdentifierToken ( )

eatMulti() protected méthode

protected eatMulti ( $types )

expectMulti() protected méthode

protected expectMulti ( $types )

findVariable() protected méthode

protected findVariable ( $name )

matchMulti() protected méthode

protected matchMulti ( $types )

parse() public méthode

public parse ( $source = null )

parseArgument() protected méthode

protected parseArgument ( )

parseArgumentList() protected méthode

protected parseArgumentList ( )

parseBody() protected méthode

protected parseBody ( $token = Token::TYPE_QUERY, $highLevel = true )

parseBodyItem() protected méthode

protected parseBodyItem ( $type = Token::TYPE_QUERY, $highLevel = true )

parseFragment() protected méthode

protected parseFragment ( )

parseFragmentReference() protected méthode

protected parseFragmentReference ( )

parseList() protected méthode

protected parseList ( $createType = true )

parseListValue() protected méthode

protected parseListValue ( )

parseObject() protected méthode

protected parseObject ( $createType = true )

parseValue() protected méthode

protected parseValue ( ) : array | InputList | InputObject | Literal | VariableReference
Résultat array | Youshido\GraphQL\Parser\Ast\ArgumentValue\InputList | Youshido\GraphQL\Parser\Ast\ArgumentValue\InputObject | Youshido\GraphQL\Parser\Ast\ArgumentValue\Literal | Youshido\GraphQL\Parser\Ast\ArgumentValue\VariableReference

parseVariableReference() protected méthode

protected parseVariableReference ( )

parseVariables() protected méthode

protected parseVariables ( )