import { createParenthesisToken , ParenthesisToken } from "../Token" ; import { SeekProcessor } from "../LexerProcessor" ; const seekParenthesisToken = ( context ) => { const parenthesis = context . buffer . charAt ( context . position ) as "(" | ")" ; const token = createParenthesisToken ( parenthesis , context . position ) ; context . position += 1 ; return token ; } ; export default seekParenthesisToken ;