# line 1 "squiggle_scanner.rl" # line 85 "squiggle_scanner.rl" module Radius class SquiggleScanner def operate(prefix, data) buf = "" csel = "" @prematch = '' @starttag = nil @attrs = {} @flavor = :tasteless @cursor = 0 @tagstart = 0 @nodes = [''] remainder = data.dup until remainder.length == 0 p = perform_parse(prefix, remainder) remainder = remainder[p..-1] end return @nodes end private def perform_parse(prefix, data) stack = [] p = 0 ts = 0 te = 0 act = 0 eof = data.length @prefix = prefix # line 41 "squiggle_scanner.rb" class << self attr_accessor :_parser_trans_keys private :_parser_trans_keys, :_parser_trans_keys= end self._parser_trans_keys = [ 0, 0, 9, 122, 9, 125, 9, 125, 9, 122, 9, 61, 9, 39, 34, 92, 34, 92, 9, 125, 9, 125, 125, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 92, 9, 92, 9, 125, 34, 125, 34, 92, 34, 92, 9, 125, 39, 92, 39, 92, 9, 125, 9, 122, 9, 92, 9, 92, 34, 92, 34, 92, 9, 125, 9, 125, 9, 122, 9, 92, 9, 92, 9, 125, 34, 125, 9, 125, 9, 125, 39, 125, 39, 92, 45, 122, 9, 125, 9, 125, 0, 0, 123, 123, 9, 122, 0, 0, 0, 0, 34, 92, 34, 92, 34, 92, 34, 92, 39, 92, 39, 92, 0, 0, 0 ] class << self attr_accessor :_parser_key_spans private :_parser_key_spans, :_parser_key_spans= end self._parser_key_spans = [ 0, 114, 117, 117, 114, 53, 31, 59, 59, 117, 117, 1, 59, 117, 117, 114, 84, 84, 117, 92, 59, 59, 117, 54, 54, 117, 114, 84, 84, 59, 59, 117, 117, 114, 84, 84, 117, 92, 117, 117, 87, 54, 78, 117, 117, 0, 1, 114, 0, 0, 59, 59, 59, 59, 54, 54, 0 ] class << self attr_accessor :_parser_index_offsets private :_parser_index_offsets, :_parser_index_offsets= end self._parser_index_offsets = [ 0, 0, 115, 233, 351, 466, 520, 552, 612, 672, 790, 908, 910, 970, 1088, 1206, 1321, 1406, 1491, 1609, 1702, 1762, 1822, 1940, 1995, 2050, 2168, 2283, 2368, 2453, 2513, 2573, 2691, 2809, 2924, 3009, 3094, 3212, 3305, 3423, 3541, 3629, 3684, 3763, 3881, 3999, 4000, 4002, 4117, 4118, 4119, 4179, 4239, 4299, 4359, 4414, 4469 ] class << self attr_accessor :_parser_indicies private :_parser_indicies, :_parser_indicies= end self._parser_indicies = [ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 5, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 5, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 7, 0, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 0, 9, 0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 11, 0, 13, 13, 13, 13, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 14, 14, 12, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 12, 15, 12, 14, 12, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 12, 12, 12, 14, 12, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 16, 16, 16, 16, 16, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 17, 12, 17, 17, 17, 17, 17, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 17, 12, 18, 12, 12, 12, 12, 19, 12, 21, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 22, 20, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 26, 26, 26, 26, 26, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 26, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 27, 27, 28, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 12, 12, 12, 12, 27, 12, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 12, 12, 12, 12, 27, 12, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 12, 12, 29, 12, 30, 30, 30, 30, 30, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 30, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 31, 31, 32, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 12, 12, 12, 31, 12, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 12, 12, 12, 31, 12, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 12, 12, 33, 12, 34, 12, 35, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 36, 36, 36, 36, 36, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 36, 23, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 37, 37, 38, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 23, 23, 23, 23, 37, 23, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 23, 25, 23, 23, 37, 23, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 23, 23, 39, 23, 40, 40, 40, 40, 40, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 40, 23, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 41, 41, 42, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 23, 23, 23, 23, 41, 23, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 23, 25, 23, 23, 41, 23, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 23, 23, 43, 23, 44, 44, 44, 44, 44, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 44, 23, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 45, 45, 23, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 23, 46, 23, 45, 23, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 25, 23, 23, 45, 23, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 47, 47, 47, 47, 47, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 47, 23, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 48, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 48, 48, 48, 48, 48, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 48, 23, 49, 23, 23, 23, 23, 50, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 51, 51, 51, 51, 51, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 51, 20, 21, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 52, 52, 53, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 20, 20, 20, 20, 52, 20, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 20, 22, 20, 20, 52, 20, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 20, 20, 54, 20, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 55, 23, 57, 56, 56, 56, 56, 58, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 59, 56, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 64, 64, 64, 64, 64, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 64, 63, 63, 63, 63, 63, 63, 24, 63, 63, 63, 63, 63, 65, 65, 66, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 63, 63, 63, 63, 65, 63, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 63, 67, 63, 63, 65, 63, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 63, 63, 68, 63, 24, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 61, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 69, 69, 69, 69, 69, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 69, 63, 63, 63, 63, 63, 63, 24, 63, 63, 63, 63, 63, 70, 70, 71, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 63, 63, 63, 63, 70, 63, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 63, 67, 63, 63, 70, 63, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 63, 63, 72, 63, 73, 73, 73, 73, 73, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 73, 63, 63, 63, 63, 63, 63, 24, 63, 63, 63, 63, 63, 74, 74, 63, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 63, 63, 75, 63, 74, 63, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 63, 67, 63, 63, 74, 63, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 63, 76, 76, 76, 76, 76, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 76, 63, 63, 63, 63, 63, 63, 24, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 77, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 77, 77, 77, 77, 77, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 77, 63, 78, 63, 63, 63, 63, 79, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 80, 56, 56, 56, 56, 58, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 59, 56, 81, 60, 60, 60, 60, 81, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 82, 82, 82, 82, 82, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 82, 60, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 83, 83, 84, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 60, 60, 60, 60, 83, 60, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 60, 62, 60, 60, 83, 60, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 60, 60, 85, 60, 86, 86, 86, 86, 86, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 86, 60, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 87, 87, 88, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 60, 60, 60, 60, 87, 60, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 60, 62, 60, 60, 87, 60, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 60, 60, 89, 60, 90, 90, 90, 90, 90, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 90, 60, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 91, 91, 60, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 60, 60, 92, 60, 91, 60, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 60, 62, 60, 60, 91, 60, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 60, 93, 93, 93, 93, 93, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 93, 60, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 94, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 94, 94, 94, 94, 94, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 94, 60, 95, 60, 60, 60, 60, 96, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 97, 97, 97, 97, 97, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 97, 56, 80, 56, 56, 56, 56, 58, 56, 56, 56, 56, 56, 98, 98, 99, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 56, 56, 56, 98, 56, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 59, 56, 56, 98, 56, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 56, 100, 56, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 101, 60, 97, 97, 97, 97, 97, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 97, 56, 57, 56, 56, 56, 56, 58, 56, 56, 56, 56, 56, 98, 98, 99, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 56, 56, 56, 98, 56, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 59, 56, 56, 98, 56, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 56, 56, 100, 56, 103, 103, 103, 103, 103, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 103, 102, 102, 102, 102, 102, 102, 21, 102, 102, 102, 102, 102, 104, 104, 105, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 102, 102, 102, 102, 104, 102, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 102, 106, 102, 102, 104, 102, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 102, 102, 107, 102, 24, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 108, 63, 21, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 106, 102, 109, 109, 0, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 0, 0, 0, 0, 109, 0, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 0, 0, 0, 0, 109, 0, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 0, 110, 110, 110, 110, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111, 111, 0, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 0, 0, 0, 0, 111, 0, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 0, 0, 0, 0, 111, 0, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 0, 0, 112, 0, 113, 113, 113, 113, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, 115, 117, 116, 1, 1, 1, 1, 1, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 1, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 118, 118, 118, 118, 2, 118, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 118, 118, 118, 118, 2, 118, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 118, 119, 120, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25, 23, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 61, 60, 60, 60, 60, 35, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 62, 60, 24, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 24, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 67, 63, 121, 0 ] class << self attr_accessor :_parser_trans_targs private :_parser_trans_targs, :_parser_trans_targs= end self._parser_trans_targs = [ 46, 1, 2, 42, 3, 2, 11, 49, 3, 4, 11, 49, 46, 5, 4, 6, 5, 6, 7, 41, 8, 9, 12, 8, 9, 12, 10, 4, 11, 49, 10, 4, 11, 49, 48, 13, 14, 15, 19, 51, 14, 15, 19, 51, 16, 15, 17, 16, 17, 18, 20, 14, 15, 19, 51, 50, 21, 22, 13, 30, 21, 22, 30, 23, 25, 26, 40, 24, 55, 25, 26, 40, 55, 27, 26, 28, 27, 28, 29, 39, 22, 31, 32, 33, 37, 53, 32, 33, 37, 53, 34, 33, 35, 34, 35, 36, 38, 32, 33, 37, 53, 52, 23, 25, 26, 40, 24, 55, 54, 43, 44, 43, 56, 44, 56, 0, 46, 47, 46, 46, 46, 46 ] class << self attr_accessor :_parser_trans_actions private :_parser_trans_actions, :_parser_trans_actions= end self._parser_trans_actions = [ 1, 0, 2, 0, 3, 0, 3, 3, 0, 4, 0, 0, 5, 6, 0, 6, 0, 0, 0, 0, 7, 8, 7, 0, 9, 0, 10, 11, 12, 12, 0, 13, 14, 14, 0, 9, 10, 11, 12, 15, 0, 13, 14, 16, 6, 0, 6, 0, 0, 9, 0, 17, 18, 19, 20, 21, 7, 22, 8, 7, 0, 9, 0, 0, 10, 11, 12, 0, 15, 0, 13, 14, 16, 6, 0, 6, 0, 0, 0, 9, 8, 9, 10, 11, 12, 15, 0, 13, 14, 16, 6, 0, 6, 0, 0, 9, 9, 17, 18, 19, 20, 21, 7, 17, 18, 19, 7, 20, 21, 2, 3, 0, 3, 0, 0, 0, 25, 26, 27, 28, 29, 30 ] class << self attr_accessor :_parser_to_state_actions private :_parser_to_state_actions, :_parser_to_state_actions= end self._parser_to_state_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_parser_from_state_actions private :_parser_from_state_actions, :_parser_from_state_actions= end self._parser_from_state_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_parser_eof_trans private :_parser_eof_trans, :_parser_eof_trans= end self._parser_eof_trans = [ 0, 1, 1, 1, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 1, 1, 1, 0, 0, 119, 120, 121, 120, 121, 120, 121, 120, 121, 122 ] class << self attr_accessor :parser_start end self.parser_start = 46; class << self attr_accessor :parser_first_final end self.parser_first_final = 46; class << self attr_accessor :parser_error end self.parser_error = 0; class << self attr_accessor :parser_en_Closeout end self.parser_en_Closeout = 45; class << self attr_accessor :parser_en_main end self.parser_en_main = 46; # line 120 "squiggle_scanner.rl" # line 783 "squiggle_scanner.rb" begin p ||= 0 pe ||= data.length cs = parser_start ts = nil te = nil act = 0 end # line 121 "squiggle_scanner.rl" # line 795 "squiggle_scanner.rb" begin testEof = false _slen, _trans, _keys, _inds, _acts, _nacts = nil _goto_level = 0 _resume = 10 _eof_trans = 15 _again = 20 _test_eof = 30 _out = 40 while true if _goto_level <= 0 if p == pe _goto_level = _test_eof next end if cs == 0 _goto_level = _out next end end if _goto_level <= _resume case _parser_from_state_actions[cs] when 24 then # line 1 "NONE" begin ts = p end # line 823 "squiggle_scanner.rb" end _keys = cs << 1 _inds = _parser_index_offsets[cs] _slen = _parser_key_spans[cs] _trans = if ( _slen > 0 && _parser_trans_keys[_keys] <= data[p] && data[p] <= _parser_trans_keys[_keys + 1] ) then _parser_indicies[ _inds + data[p] - _parser_trans_keys[_keys] ] else _parser_indicies[ _inds + _slen ] end end if _goto_level <= _eof_trans cs = _parser_trans_targs[_trans] if _parser_trans_actions[_trans] != 0 case _parser_trans_actions[_trans] when 2 then # line 12 "squiggle_scanner.rl" begin mark_stg = p end when 3 then # line 13 "squiggle_scanner.rl" begin @starttag = data[mark_stg..p-1] end when 10 then # line 14 "squiggle_scanner.rl" begin mark_attr = p end when 14 then # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end when 4 then # line 24 "squiggle_scanner.rl" begin mark_nat = p end when 6 then # line 25 "squiggle_scanner.rl" begin @nat = data[mark_nat..p-1] end when 7 then # line 26 "squiggle_scanner.rl" begin mark_vat = p end when 9 then # line 27 "squiggle_scanner.rl" begin @vat = data[mark_vat..p-1] end when 25 then # line 80 "squiggle_scanner.rl" begin te = p+1 begin @nodes.last << data[p] @tagstart = p end end when 27 then # line 80 "squiggle_scanner.rl" begin te = p p = p - 1; begin @nodes.last << data[p] @tagstart = p end end when 1 then # line 80 "squiggle_scanner.rl" begin begin p = ((te))-1; end begin @nodes.last << data[p] @tagstart = p end end when 5 then # line 1 "NONE" begin case act when 1 then begin begin p = ((te))-1; end tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs} @prefix = nil @name = nil @flavor = :tasteless @attrs = {} @nodes << tag << '' begin p += 1 _goto_level = _out next end end when 2 then begin begin p = ((te))-1; end @nodes.last << data[p] @tagstart = p end end end when 12 then # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end when 13 then # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 24 "squiggle_scanner.rl" begin mark_nat = p end when 17 then # line 26 "squiggle_scanner.rl" begin mark_vat = p end # line 14 "squiggle_scanner.rl" begin mark_attr = p end when 8 then # line 26 "squiggle_scanner.rl" begin mark_vat = p end # line 27 "squiggle_scanner.rl" begin @vat = data[mark_vat..p-1] end when 22 then # line 27 "squiggle_scanner.rl" begin @vat = data[mark_vat..p-1] end # line 26 "squiggle_scanner.rl" begin mark_vat = p end when 29 then # line 29 "squiggle_scanner.rl" begin @flavor = :open end # line 71 "squiggle_scanner.rl" begin te = p p = p - 1; begin tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs} @prefix = nil @name = nil @flavor = :tasteless @attrs = {} @nodes << tag << '' begin p += 1 _goto_level = _out next end end end when 28 then # line 30 "squiggle_scanner.rl" begin @flavor = :self end # line 71 "squiggle_scanner.rl" begin te = p p = p - 1; begin tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs} @prefix = nil @name = nil @flavor = :tasteless @attrs = {} @nodes << tag << '' begin p += 1 _goto_level = _out next end end end when 30 then # line 31 "squiggle_scanner.rl" begin @flavor = :close end # line 71 "squiggle_scanner.rl" begin te = p p = p - 1; begin tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs} @prefix = nil @name = nil @flavor = :tasteless @attrs = {} @nodes << tag << '' begin p += 1 _goto_level = _out next end end end when 21 then # line 1 "NONE" begin te = p+1 end # line 71 "squiggle_scanner.rl" begin act = 1; end when 26 then # line 1 "NONE" begin te = p+1 end # line 80 "squiggle_scanner.rl" begin act = 2; end when 11 then # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 24 "squiggle_scanner.rl" begin mark_nat = p end when 19 then # line 26 "squiggle_scanner.rl" begin mark_vat = p end # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end when 16 then # line 1 "NONE" begin te = p+1 end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 71 "squiggle_scanner.rl" begin act = 1; end when 18 then # line 26 "squiggle_scanner.rl" begin mark_vat = p end # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 24 "squiggle_scanner.rl" begin mark_nat = p end when 15 then # line 1 "NONE" begin te = p+1 end # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 71 "squiggle_scanner.rl" begin act = 1; end when 20 then # line 1 "NONE" begin te = p+1 end # line 26 "squiggle_scanner.rl" begin mark_vat = p end # line 14 "squiggle_scanner.rl" begin mark_attr = p end # line 15 "squiggle_scanner.rl" begin @attrs[@nat] = @vat end # line 71 "squiggle_scanner.rl" begin act = 1; end # line 1138 "squiggle_scanner.rb" end end end if _goto_level <= _again case _parser_to_state_actions[cs] when 23 then # line 1 "NONE" begin ts = nil; end # line 1148 "squiggle_scanner.rb" end if cs == 0 _goto_level = _out next end p += 1 if p != pe _goto_level = _resume next end end if _goto_level <= _test_eof if p == eof if _parser_eof_trans[cs] > 0 _trans = _parser_eof_trans[cs] - 1; _goto_level = _eof_trans next; end end end if _goto_level <= _out break end end end # line 122 "squiggle_scanner.rl" return p end end end