Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GraphQL
Tests
Language
LexerTest
lexOne
GraphQL\Tests\Language\LexerTest::lexOne PHP Method
LexerTest Class Documentation
Show file
Open project: webonyx/graphql-php
lexOne()
private
method
private
lexOne
(
string
$body
) :
Token
$body
string
return
GraphQL\Language\Token
private function lexOne($body) { $lexer = new Lexer(new Source($body)); return $lexer->advance(); }
LexerTest
lexOne
testAcceptsBomHeader
testDissallowsUncommonControlCharacters
testDoubleLinkedList
testErrorsRespectWhitespace
testLexesNumbers
testLexesPunctuation
testLexesStrings
testRecordsLineAndColumn
testReportsUsefulDashesInfo
testReportsUsefulErrors
testReportsUsefulNumberErrors
testReportsUsefulUnknownCharErrors
testSkipsWhitespacesAndComments