Function glsl_lang_lexer::v2::lang_token
source ยท pub fn lang_token(
ctx: &ParseContext,
text: &str,
pos: NodeSpan,
token_kind: Token,
) -> Result<(LexerPosition, Token, LexerPosition), (Token, ErrorKind)>
pub fn lang_token(
ctx: &ParseContext,
text: &str,
pos: NodeSpan,
token_kind: Token,
) -> Result<(LexerPosition, Token, LexerPosition), (Token, ErrorKind)>