PHP 클래스 Youshido\GraphQL\Parser\Parser

상속: extends Tokenizer
파일 보기 프로젝트 열기: youshido/graphql 1 사용 예제들

공개 메소드들

메소드 설명
parse ( $source = null )

보호된 메소드들

메소드 설명
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 ( )

비공개 메소드들

메소드 설명
init ( $source = null )

메소드 상세

eat() 보호된 메소드

protected eat ( $type )

eatIdentifierToken() 보호된 메소드

protected eatIdentifierToken ( )

eatMulti() 보호된 메소드

protected eatMulti ( $types )

expectMulti() 보호된 메소드

protected expectMulti ( $types )

findVariable() 보호된 메소드

protected findVariable ( $name )

matchMulti() 보호된 메소드

protected matchMulti ( $types )

parse() 공개 메소드

public parse ( $source = null )

parseArgument() 보호된 메소드

protected parseArgument ( )

parseArgumentList() 보호된 메소드

protected parseArgumentList ( )

parseBody() 보호된 메소드

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

parseBodyItem() 보호된 메소드

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

parseFragment() 보호된 메소드

protected parseFragment ( )

parseFragmentReference() 보호된 메소드

protected parseFragmentReference ( )

parseList() 보호된 메소드

protected parseList ( $createType = true )

parseListValue() 보호된 메소드

protected parseListValue ( )

parseObject() 보호된 메소드

protected parseObject ( $createType = true )

parseValue() 보호된 메소드

protected parseValue ( ) : array | InputList | InputObject | Literal | VariableReference
리턴 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 parseVariableReference ( )

parseVariables() 보호된 메소드

protected parseVariables ( )