func parseValue()

in Sources/SIL/SExpr.swift [59:76]


    func parseValue() throws -> SExpr {
        if skip("'") {
            let result = take(while: { $0 != "'" })
            try take("'")
            return .string(result)
        }
        if skip("\"") {
            let result = take(while: { $0 != "\"" })
            try take("\"")
            return .string(result)
        }
        if skip("[") {
            let result = take(while: { $0 != "]" })
            try take("]")
            return .sourceRange(result)
        }
        return try parseSymbol()
    }