def lex_outside_other

qasim-bend-kit@0.1.0.2 · libs/JSON.bend:959

import qasim-bend-kit@0.1.0.2/libs/JSON.bend as JSON
import Base

959def lex_outside_other(character: Char) -> LexAction:
960    match character:
961        case '"': LexQuote{}
962        case ' ': LexWhitespace{}
963        case '\t': LexWhitespace{}
964        case '\r': LexWhitespace{}
965        case '\n': LexWhitespace{}
966        case '[': LexPunctuation{'['}
967        case ']': LexPunctuation{']'}
968        case '{': LexPunctuation{'{'}
969        case '}': LexPunctuation{'}'}
970        case ':': LexPunctuation{':' }
971        case ',': LexPunctuation{','}
972        case _: LexRaw{}

Uses (6)

Used by (1)