import { LogicOperator } from "@rsql/ast" ; import { createOperatorToken , OperatorToken } from "../Token" ; import { SeekProcessor } from "../LexerProcessor" ; const seekLogicCanonicalOperatorToken = ( context ) => { const operator = context . buffer . charAt ( context . position ) as LogicOperator ; const token = createOperatorToken ( operator , context . position ) ; context . position += 1 ; return token ; } ; export default seekLogicCanonicalOperatorToken ;