File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/JsonApiDotNetCore/Internal/Queries/Parsing Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public IEnumerable<Token> EnumerateTokens()
5454
5555 _isInQuotedSection = false ;
5656
57- Token literalToken = FlushTextBuffer ( true ) ;
57+ Token literalToken = ProduceTokenFromTextBuffer ( true ) ;
5858 yield return literalToken ;
5959 }
6060 else
@@ -73,7 +73,7 @@ public IEnumerable<Token> EnumerateTokens()
7373
7474 if ( singleCharacterTokenKind != null && ! IsMinusInsideText ( singleCharacterTokenKind . Value ) )
7575 {
76- Token identifierToken = FlushTextBuffer ( false ) ;
76+ Token identifierToken = ProduceTokenFromTextBuffer ( false ) ;
7777
7878 if ( identifierToken != null )
7979 {
@@ -101,7 +101,7 @@ public IEnumerable<Token> EnumerateTokens()
101101 throw new QueryParseException ( "' expected." ) ;
102102 }
103103
104- Token lastToken = FlushTextBuffer ( false ) ;
104+ Token lastToken = ProduceTokenFromTextBuffer ( false ) ;
105105
106106 if ( lastToken != null )
107107 {
@@ -124,7 +124,7 @@ private bool IsMinusInsideText(TokenKind kind)
124124 return SingleCharacterToTokenKinds . ContainsKey ( ch ) ? ( TokenKind ? ) SingleCharacterToTokenKinds [ ch ] : null ;
125125 }
126126
127- private Token FlushTextBuffer ( bool isQuotedText )
127+ private Token ProduceTokenFromTextBuffer ( bool isQuotedText )
128128 {
129129 if ( isQuotedText || _textBuffer . Length > 0 )
130130 {
You can’t perform that action at this time.
0 commit comments