# begin: ragel =begin class << self attr_accessor :_bel_trans_keys private :_bel_trans_keys, :_bel_trans_keys= end self._bel_trans_keys = [ 0, 0, 83, 115, 69, 101, 84, 116, 9, 32, 9, 100, 79, 111, 67, 99, 85, 117, 77, 109, 69, 101, 78, 110, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 48, 122, 10, 122, 34, 34, 34, 92, 10, 10, 92, 92, 123, 123, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 83, 115, 69, 101, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_key_spans private :_bel_key_spans, :_bel_key_spans= end self._bel_key_spans = [ 0, 33, 33, 33, 24, 92, 33, 33, 33, 33, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 75, 113, 1, 59, 1, 1, 1, 117, 59, 117, 117, 114, 117, 1, 1, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_index_offsets private :_bel_index_offsets, :_bel_index_offsets= end self._bel_index_offsets = [ 0, 0, 34, 68, 102, 127, 220, 254, 288, 322, 356, 390, 424, 458, 483, 598, 713, 767, 792, 908, 968, 970, 972, 1086, 1204, 1264, 1382, 1500, 1615, 1733, 1735, 1737, 1813, 1927, 1929, 1989, 1991, 1993, 1995, 2113, 2173, 2291, 2409, 2524, 2642, 2644, 2646, 2680, 2714, 2748, 2773, 2888, 3003, 3057, 3082, 3198, 3258, 3260, 3262, 3376, 3494, 3554, 3672, 3790, 3905, 4023, 4025, 4027, 4028, 4029, 4030, 4031 ] class << self attr_accessor :_bel_indicies private :_bel_indicies, :_bel_indicies= end self._bel_indicies = [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 1, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 16, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 18, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 1, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21, 22, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 24, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 22, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 26, 30, 29, 28, 26, 31, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 32, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 33, 38, 33, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 39, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 44, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 45, 42, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 48, 1, 49, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 49, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 52, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 53, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 54, 50, 55, 1, 41, 39, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 57, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 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, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 56, 56, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 59, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 61, 60, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 64, 62, 65, 60, 64, 62, 67, 66, 69, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 71, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 73, 68, 75, 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, 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, 74, 74, 74, 74, 74, 76, 74, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 79, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 80, 77, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 83, 66, 84, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 84, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 87, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 88, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 89, 85, 90, 66, 76, 74, 91, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1, 92, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 92, 1, 93, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1, 94, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 94, 1, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 96, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 15, 15, 15, 15, 15, 15, 15, 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, 15, 15, 15, 15, 98, 15, 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, 15, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 101, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 1, 101, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 101, 22, 102, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 103, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 22, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 107, 105, 108, 29, 107, 105, 109, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 110, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 111, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 113, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 115, 33, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 118, 116, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 120, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 121, 42, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 123, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 124, 1, 125, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 125, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 127, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 128, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 129, 50, 130, 1, 118, 116, 1, 1, 1, 1, 1, 0 ] class << self attr_accessor :_bel_trans_targs private :_bel_trans_targs, :_bel_trans_targs= end self._bel_trans_targs = [ 2, 0, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 15, 16, 17, 18, 0, 19, 22, 23, 19, 20, 21, 0, 67, 67, 22, 0, 23, 24, 27, 28, 29, 24, 25, 30, 0, 26, 27, 29, 26, 27, 29, 27, 0, 26, 27, 28, 29, 67, 0, 32, 68, 32, 0, 34, 34, 35, 36, 69, 0, 38, 0, 38, 39, 42, 43, 44, 39, 40, 45, 0, 41, 42, 44, 41, 42, 44, 42, 0, 41, 42, 43, 44, 70, 47, 48, 49, 50, 50, 51, 52, 51, 52, 53, 54, 55, 58, 59, 55, 56, 57, 71, 71, 58, 59, 60, 63, 64, 65, 60, 61, 66, 62, 63, 65, 62, 63, 65, 63, 62, 63, 64, 65, 71 ] class << self attr_accessor :_bel_trans_actions private :_bel_trans_actions, :_bel_trans_actions= end self._bel_trans_actions = [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 6, 7, 3, 8, 10, 10, 10, 9, 11, 12, 5, 13, 14, 7, 15, 3, 16, 10, 10, 10, 17, 18, 19, 20, 0, 21, 22, 0, 23, 24, 25, 5, 26, 27, 28, 3, 29, 5, 30, 7, 10, 10, 10, 31, 32, 8, 33, 14, 7, 15, 3, 16, 10, 10, 10, 34, 18, 19, 20, 0, 21, 22, 0, 35, 24, 25, 5, 26, 36, 0, 0, 0, 1, 0, 3, 4, 5, 0, 0, 0, 7, 3, 8, 10, 10, 10, 37, 38, 5, 14, 7, 15, 3, 16, 10, 10, 10, 18, 19, 20, 0, 21, 22, 0, 24, 25, 5, 26, 39 ] class << self attr_accessor :_bel_eof_actions private :_bel_eof_actions, :_bel_eof_actions= end self._bel_eof_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 28, 28, 30, 30, 30, 30, 32, 33, 34, 34, 32, 33, 35, 32, 34, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 0, 0, 0, 0, 0 ] class << self attr_accessor :bel_start end self.bel_start = 1; class << self attr_accessor :bel_first_final end self.bel_first_final = 67; class << self attr_accessor :bel_error end self.bel_error = 0; class << self attr_accessor :bel_en_ident end self.bel_en_ident = 31; class << self attr_accessor :bel_en_string end self.bel_en_string = 33; class << self attr_accessor :bel_en_list end self.bel_en_list = 37; class << self attr_accessor :bel_en_set end self.bel_en_set = 46; class << self attr_accessor :bel_en_set_document end self.bel_en_set_document = 1; begin p ||= 0 pe ||= data.length cs = bel_start end 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 _keys = cs << 1 _inds = _bel_index_offsets[cs] _slen = _bel_key_spans[cs] _wide = data[p].ord _trans = if ( _slen > 0 && _bel_trans_keys[_keys] <= _wide && _wide <= _bel_trans_keys[_keys + 1] ) then _bel_indicies[ _inds + _wide - _bel_trans_keys[_keys] ] else _bel_indicies[ _inds + _slen ] end cs = _bel_trans_targs[_trans] if _bel_trans_actions[_trans] != 0 case _bel_trans_actions[_trans] when 5 then begin (@buffers[:ident] ||= []) << data[p].ord end when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 10 then begin (@buffers[:string] ||= []) << data[p].ord end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 21 then begin @buffers.delete(:string) @buffers.delete(:ident) end when 8 then begin @buffers[:list] = list() end when 14 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 22 then begin #TODO: Mark @buffers[:list] as complete. end when 36 then begin yield @buffers[:list] end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 1 then begin @buffers[:set] = set() end when 3 then begin @buffers[:ident] = [] end begin (@buffers[:ident] ||= []) << data[p].ord end when 29 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin yield @buffers[:ident] end when 4 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << name(@buffers[:ident]) end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 7 then begin @buffers[:string] = [] end begin (@buffers[:string] ||= []) << data[p].ord end when 31 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin yield @buffers[:string] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 15 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 16 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 39 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield @buffers[:set] end when 27 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield( document_property( *@buffers[:set].children)) end when 24 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 38 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield @buffers[:set] end when 12 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield( document_property( *@buffers[:set].children)) end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 18 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 37 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield @buffers[:set] end when 11 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield( document_property( *@buffers[:set].children)) end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 25 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 26 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 19 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 20 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _again 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 case _bel_eof_actions[cs] when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _out break end end end class << self attr_accessor :_bel_trans_keys private :_bel_trans_keys, :_bel_trans_keys= end self._bel_trans_keys = [ 0, 0, 83, 115, 69, 101, 84, 116, 9, 32, 9, 100, 79, 111, 67, 99, 85, 117, 77, 109, 69, 101, 78, 110, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 48, 122, 10, 122, 34, 34, 34, 92, 10, 10, 92, 92, 123, 123, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 83, 115, 69, 101, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_key_spans private :_bel_key_spans, :_bel_key_spans= end self._bel_key_spans = [ 0, 33, 33, 33, 24, 92, 33, 33, 33, 33, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 75, 113, 1, 59, 1, 1, 1, 117, 59, 117, 117, 114, 117, 1, 1, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_index_offsets private :_bel_index_offsets, :_bel_index_offsets= end self._bel_index_offsets = [ 0, 0, 34, 68, 102, 127, 220, 254, 288, 322, 356, 390, 424, 458, 483, 598, 713, 767, 792, 908, 968, 970, 972, 1086, 1204, 1264, 1382, 1500, 1615, 1733, 1735, 1737, 1813, 1927, 1929, 1989, 1991, 1993, 1995, 2113, 2173, 2291, 2409, 2524, 2642, 2644, 2646, 2680, 2714, 2748, 2773, 2888, 3003, 3057, 3082, 3198, 3258, 3260, 3262, 3376, 3494, 3554, 3672, 3790, 3905, 4023, 4025, 4027, 4028, 4029, 4030, 4031 ] class << self attr_accessor :_bel_indicies private :_bel_indicies, :_bel_indicies= end self._bel_indicies = [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 1, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 16, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 18, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 1, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21, 22, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 24, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 22, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 26, 30, 29, 28, 26, 31, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 32, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 33, 38, 33, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 39, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 44, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 45, 42, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 48, 1, 49, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 49, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 52, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 53, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 54, 50, 55, 1, 41, 39, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 57, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 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, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 56, 56, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 59, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 61, 60, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 64, 62, 65, 60, 64, 62, 67, 66, 69, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 71, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 73, 68, 75, 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, 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, 74, 74, 74, 74, 74, 76, 74, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 79, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 80, 77, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 83, 66, 84, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 84, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 87, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 88, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 89, 85, 90, 66, 76, 74, 91, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1, 92, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 92, 1, 93, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1, 94, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 94, 1, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 96, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 15, 15, 15, 15, 15, 15, 15, 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, 15, 15, 15, 15, 98, 15, 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, 15, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 101, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 1, 101, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 101, 22, 102, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 103, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 22, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 107, 105, 108, 29, 107, 105, 109, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 110, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 111, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 113, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 115, 33, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 118, 116, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 120, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 121, 42, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 123, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 124, 1, 125, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 125, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 127, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 128, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 129, 50, 130, 1, 118, 116, 1, 1, 1, 1, 1, 0 ] class << self attr_accessor :_bel_trans_targs private :_bel_trans_targs, :_bel_trans_targs= end self._bel_trans_targs = [ 2, 0, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 15, 16, 17, 18, 0, 19, 22, 23, 19, 20, 21, 0, 67, 67, 22, 0, 23, 24, 27, 28, 29, 24, 25, 30, 0, 26, 27, 29, 26, 27, 29, 27, 0, 26, 27, 28, 29, 67, 0, 32, 68, 32, 0, 34, 34, 35, 36, 69, 0, 38, 0, 38, 39, 42, 43, 44, 39, 40, 45, 0, 41, 42, 44, 41, 42, 44, 42, 0, 41, 42, 43, 44, 70, 47, 48, 49, 50, 50, 51, 52, 51, 52, 53, 54, 55, 58, 59, 55, 56, 57, 71, 71, 58, 59, 60, 63, 64, 65, 60, 61, 66, 62, 63, 65, 62, 63, 65, 63, 62, 63, 64, 65, 71 ] class << self attr_accessor :_bel_trans_actions private :_bel_trans_actions, :_bel_trans_actions= end self._bel_trans_actions = [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 6, 7, 3, 8, 10, 10, 10, 9, 11, 12, 5, 13, 14, 7, 15, 3, 16, 10, 10, 10, 17, 18, 19, 20, 0, 21, 22, 0, 23, 24, 25, 5, 26, 27, 28, 3, 29, 5, 30, 7, 10, 10, 10, 31, 32, 8, 33, 14, 7, 15, 3, 16, 10, 10, 10, 34, 18, 19, 20, 0, 21, 22, 0, 35, 24, 25, 5, 26, 36, 0, 0, 0, 1, 0, 3, 4, 5, 0, 0, 0, 7, 3, 8, 10, 10, 10, 37, 38, 5, 14, 7, 15, 3, 16, 10, 10, 10, 18, 19, 20, 0, 21, 22, 0, 24, 25, 5, 26, 39 ] class << self attr_accessor :_bel_eof_actions private :_bel_eof_actions, :_bel_eof_actions= end self._bel_eof_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 28, 28, 30, 30, 30, 30, 32, 33, 34, 34, 32, 33, 35, 32, 34, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 0, 0, 0, 0, 0 ] class << self attr_accessor :bel_start end self.bel_start = 1; class << self attr_accessor :bel_first_final end self.bel_first_final = 67; class << self attr_accessor :bel_error end self.bel_error = 0; class << self attr_accessor :bel_en_ident end self.bel_en_ident = 31; class << self attr_accessor :bel_en_string end self.bel_en_string = 33; class << self attr_accessor :bel_en_list end self.bel_en_list = 37; class << self attr_accessor :bel_en_set end self.bel_en_set = 46; class << self attr_accessor :bel_en_set_document end self.bel_en_set_document = 1; begin p ||= 0 pe ||= data.length cs = bel_start end 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 _keys = cs << 1 _inds = _bel_index_offsets[cs] _slen = _bel_key_spans[cs] _wide = data[p].ord _trans = if ( _slen > 0 && _bel_trans_keys[_keys] <= _wide && _wide <= _bel_trans_keys[_keys + 1] ) then _bel_indicies[ _inds + _wide - _bel_trans_keys[_keys] ] else _bel_indicies[ _inds + _slen ] end cs = _bel_trans_targs[_trans] if _bel_trans_actions[_trans] != 0 case _bel_trans_actions[_trans] when 5 then begin (@buffers[:ident] ||= []) << data[p].ord end when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 10 then begin (@buffers[:string] ||= []) << data[p].ord end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 21 then begin @buffers.delete(:string) @buffers.delete(:ident) end when 8 then begin @buffers[:list] = list() end when 14 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 22 then begin #TODO: Mark @buffers[:list] as complete. end when 36 then begin yield @buffers[:list] end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 1 then begin @buffers[:set] = set() end when 3 then begin @buffers[:ident] = [] end begin (@buffers[:ident] ||= []) << data[p].ord end when 29 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin yield @buffers[:ident] end when 4 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << name(@buffers[:ident]) end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 7 then begin @buffers[:string] = [] end begin (@buffers[:string] ||= []) << data[p].ord end when 31 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin yield @buffers[:string] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 15 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 16 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 39 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield @buffers[:set] end when 27 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield( document_property( *@buffers[:set].children)) end when 24 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 38 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield @buffers[:set] end when 12 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield( document_property( *@buffers[:set].children)) end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 18 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 37 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield @buffers[:set] end when 11 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield( document_property( *@buffers[:set].children)) end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 25 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 26 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 19 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 20 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _again 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 case _bel_eof_actions[cs] when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _out break end end end class << self attr_accessor :_bel_trans_keys private :_bel_trans_keys, :_bel_trans_keys= end self._bel_trans_keys = [ 0, 0, 83, 115, 69, 101, 84, 116, 9, 32, 9, 100, 79, 111, 67, 99, 85, 117, 77, 109, 69, 101, 78, 110, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 48, 122, 10, 122, 34, 34, 34, 92, 10, 10, 92, 92, 123, 123, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 83, 115, 69, 101, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_key_spans private :_bel_key_spans, :_bel_key_spans= end self._bel_key_spans = [ 0, 33, 33, 33, 24, 92, 33, 33, 33, 33, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 75, 113, 1, 59, 1, 1, 1, 117, 59, 117, 117, 114, 117, 1, 1, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_index_offsets private :_bel_index_offsets, :_bel_index_offsets= end self._bel_index_offsets = [ 0, 0, 34, 68, 102, 127, 220, 254, 288, 322, 356, 390, 424, 458, 483, 598, 713, 767, 792, 908, 968, 970, 972, 1086, 1204, 1264, 1382, 1500, 1615, 1733, 1735, 1737, 1813, 1927, 1929, 1989, 1991, 1993, 1995, 2113, 2173, 2291, 2409, 2524, 2642, 2644, 2646, 2680, 2714, 2748, 2773, 2888, 3003, 3057, 3082, 3198, 3258, 3260, 3262, 3376, 3494, 3554, 3672, 3790, 3905, 4023, 4025, 4027, 4028, 4029, 4030, 4031 ] class << self attr_accessor :_bel_indicies private :_bel_indicies, :_bel_indicies= end self._bel_indicies = [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 1, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 16, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 18, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 1, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21, 22, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 24, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 22, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 26, 30, 29, 28, 26, 31, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 32, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 33, 38, 33, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 39, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 44, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 45, 42, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 48, 1, 49, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 49, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 52, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 53, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 54, 50, 55, 1, 41, 39, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 57, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 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, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 56, 56, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 59, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 61, 60, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 64, 62, 65, 60, 64, 62, 67, 66, 69, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 71, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 73, 68, 75, 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, 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, 74, 74, 74, 74, 74, 76, 74, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 79, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 80, 77, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 83, 66, 84, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 84, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 87, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 88, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 89, 85, 90, 66, 76, 74, 91, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1, 92, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 92, 1, 93, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1, 94, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 94, 1, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 96, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 15, 15, 15, 15, 15, 15, 15, 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, 15, 15, 15, 15, 98, 15, 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, 15, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 101, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 1, 101, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 101, 22, 102, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 103, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 22, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 107, 105, 108, 29, 107, 105, 109, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 110, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 111, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 113, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 115, 33, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 118, 116, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 120, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 121, 42, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 123, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 124, 1, 125, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 125, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 127, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 128, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 129, 50, 130, 1, 118, 116, 1, 1, 1, 1, 1, 0 ] class << self attr_accessor :_bel_trans_targs private :_bel_trans_targs, :_bel_trans_targs= end self._bel_trans_targs = [ 2, 0, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 15, 16, 17, 18, 0, 19, 22, 23, 19, 20, 21, 0, 67, 67, 22, 0, 23, 24, 27, 28, 29, 24, 25, 30, 0, 26, 27, 29, 26, 27, 29, 27, 0, 26, 27, 28, 29, 67, 0, 32, 68, 32, 0, 34, 34, 35, 36, 69, 0, 38, 0, 38, 39, 42, 43, 44, 39, 40, 45, 0, 41, 42, 44, 41, 42, 44, 42, 0, 41, 42, 43, 44, 70, 47, 48, 49, 50, 50, 51, 52, 51, 52, 53, 54, 55, 58, 59, 55, 56, 57, 71, 71, 58, 59, 60, 63, 64, 65, 60, 61, 66, 62, 63, 65, 62, 63, 65, 63, 62, 63, 64, 65, 71 ] class << self attr_accessor :_bel_trans_actions private :_bel_trans_actions, :_bel_trans_actions= end self._bel_trans_actions = [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 6, 7, 3, 8, 10, 10, 10, 9, 11, 12, 5, 13, 14, 7, 15, 3, 16, 10, 10, 10, 17, 18, 19, 20, 0, 21, 22, 0, 23, 24, 25, 5, 26, 27, 28, 3, 29, 5, 30, 7, 10, 10, 10, 31, 32, 8, 33, 14, 7, 15, 3, 16, 10, 10, 10, 34, 18, 19, 20, 0, 21, 22, 0, 35, 24, 25, 5, 26, 36, 0, 0, 0, 1, 0, 3, 4, 5, 0, 0, 0, 7, 3, 8, 10, 10, 10, 37, 38, 5, 14, 7, 15, 3, 16, 10, 10, 10, 18, 19, 20, 0, 21, 22, 0, 24, 25, 5, 26, 39 ] class << self attr_accessor :_bel_eof_actions private :_bel_eof_actions, :_bel_eof_actions= end self._bel_eof_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 28, 28, 30, 30, 30, 30, 32, 33, 34, 34, 32, 33, 35, 32, 34, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 0, 0, 0, 0, 0 ] class << self attr_accessor :bel_start end self.bel_start = 1; class << self attr_accessor :bel_first_final end self.bel_first_final = 67; class << self attr_accessor :bel_error end self.bel_error = 0; class << self attr_accessor :bel_en_ident end self.bel_en_ident = 31; class << self attr_accessor :bel_en_string end self.bel_en_string = 33; class << self attr_accessor :bel_en_list end self.bel_en_list = 37; class << self attr_accessor :bel_en_set end self.bel_en_set = 46; class << self attr_accessor :bel_en_set_document end self.bel_en_set_document = 1; begin p ||= 0 pe ||= data.length cs = bel_start end 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 _keys = cs << 1 _inds = _bel_index_offsets[cs] _slen = _bel_key_spans[cs] _wide = data[p].ord _trans = if ( _slen > 0 && _bel_trans_keys[_keys] <= _wide && _wide <= _bel_trans_keys[_keys + 1] ) then _bel_indicies[ _inds + _wide - _bel_trans_keys[_keys] ] else _bel_indicies[ _inds + _slen ] end cs = _bel_trans_targs[_trans] if _bel_trans_actions[_trans] != 0 case _bel_trans_actions[_trans] when 5 then begin (@buffers[:ident] ||= []) << data[p].ord end when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 10 then begin (@buffers[:string] ||= []) << data[p].ord end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 21 then begin @buffers.delete(:string) @buffers.delete(:ident) end when 8 then begin @buffers[:list] = list() end when 14 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 22 then begin #TODO: Mark @buffers[:list] as complete. end when 36 then begin yield @buffers[:list] end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 1 then begin @buffers[:set] = set() end when 3 then begin @buffers[:ident] = [] end begin (@buffers[:ident] ||= []) << data[p].ord end when 29 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin yield @buffers[:ident] end when 4 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << name(@buffers[:ident]) end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 7 then begin @buffers[:string] = [] end begin (@buffers[:string] ||= []) << data[p].ord end when 31 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin yield @buffers[:string] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 15 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 16 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 39 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield @buffers[:set] end when 27 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield( document_property( *@buffers[:set].children)) end when 24 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 38 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield @buffers[:set] end when 12 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield( document_property( *@buffers[:set].children)) end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 18 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 37 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield @buffers[:set] end when 11 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield( document_property( *@buffers[:set].children)) end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 25 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 26 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 19 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 20 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _again 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 case _bel_eof_actions[cs] when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _out break end end end class << self attr_accessor :_bel_trans_keys private :_bel_trans_keys, :_bel_trans_keys= end self._bel_trans_keys = [ 0, 0, 83, 115, 69, 101, 84, 116, 9, 32, 9, 100, 79, 111, 67, 99, 85, 117, 77, 109, 69, 101, 78, 110, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 48, 122, 10, 122, 34, 34, 34, 92, 10, 10, 92, 92, 123, 123, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 83, 115, 69, 101, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_key_spans private :_bel_key_spans, :_bel_key_spans= end self._bel_key_spans = [ 0, 33, 33, 33, 24, 92, 33, 33, 33, 33, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 75, 113, 1, 59, 1, 1, 1, 117, 59, 117, 117, 114, 117, 1, 1, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_index_offsets private :_bel_index_offsets, :_bel_index_offsets= end self._bel_index_offsets = [ 0, 0, 34, 68, 102, 127, 220, 254, 288, 322, 356, 390, 424, 458, 483, 598, 713, 767, 792, 908, 968, 970, 972, 1086, 1204, 1264, 1382, 1500, 1615, 1733, 1735, 1737, 1813, 1927, 1929, 1989, 1991, 1993, 1995, 2113, 2173, 2291, 2409, 2524, 2642, 2644, 2646, 2680, 2714, 2748, 2773, 2888, 3003, 3057, 3082, 3198, 3258, 3260, 3262, 3376, 3494, 3554, 3672, 3790, 3905, 4023, 4025, 4027, 4028, 4029, 4030, 4031 ] class << self attr_accessor :_bel_indicies private :_bel_indicies, :_bel_indicies= end self._bel_indicies = [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 1, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 16, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 18, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 1, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21, 22, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 24, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 22, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 26, 30, 29, 28, 26, 31, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 32, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 33, 38, 33, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 39, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 44, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 45, 42, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 48, 1, 49, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 49, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 52, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 53, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 54, 50, 55, 1, 41, 39, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 57, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 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, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 56, 56, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 59, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 61, 60, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 64, 62, 65, 60, 64, 62, 67, 66, 69, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 71, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 73, 68, 75, 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, 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, 74, 74, 74, 74, 74, 76, 74, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 79, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 80, 77, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 83, 66, 84, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 84, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 87, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 88, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 89, 85, 90, 66, 76, 74, 91, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1, 92, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 92, 1, 93, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1, 94, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 94, 1, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 96, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 15, 15, 15, 15, 15, 15, 15, 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, 15, 15, 15, 15, 98, 15, 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, 15, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 101, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 1, 101, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 101, 22, 102, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 103, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 22, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 107, 105, 108, 29, 107, 105, 109, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 110, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 111, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 113, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 115, 33, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 118, 116, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 120, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 121, 42, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 123, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 124, 1, 125, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 125, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 127, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 128, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 129, 50, 130, 1, 118, 116, 1, 1, 1, 1, 1, 0 ] class << self attr_accessor :_bel_trans_targs private :_bel_trans_targs, :_bel_trans_targs= end self._bel_trans_targs = [ 2, 0, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 15, 16, 17, 18, 0, 19, 22, 23, 19, 20, 21, 0, 67, 67, 22, 0, 23, 24, 27, 28, 29, 24, 25, 30, 0, 26, 27, 29, 26, 27, 29, 27, 0, 26, 27, 28, 29, 67, 0, 32, 68, 32, 0, 34, 34, 35, 36, 69, 0, 38, 0, 38, 39, 42, 43, 44, 39, 40, 45, 0, 41, 42, 44, 41, 42, 44, 42, 0, 41, 42, 43, 44, 70, 47, 48, 49, 50, 50, 51, 52, 51, 52, 53, 54, 55, 58, 59, 55, 56, 57, 71, 71, 58, 59, 60, 63, 64, 65, 60, 61, 66, 62, 63, 65, 62, 63, 65, 63, 62, 63, 64, 65, 71 ] class << self attr_accessor :_bel_trans_actions private :_bel_trans_actions, :_bel_trans_actions= end self._bel_trans_actions = [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 6, 7, 3, 8, 10, 10, 10, 9, 11, 12, 5, 13, 14, 7, 15, 3, 16, 10, 10, 10, 17, 18, 19, 20, 0, 21, 22, 0, 23, 24, 25, 5, 26, 27, 28, 3, 29, 5, 30, 7, 10, 10, 10, 31, 32, 8, 33, 14, 7, 15, 3, 16, 10, 10, 10, 34, 18, 19, 20, 0, 21, 22, 0, 35, 24, 25, 5, 26, 36, 0, 0, 0, 1, 0, 3, 4, 5, 0, 0, 0, 7, 3, 8, 10, 10, 10, 37, 38, 5, 14, 7, 15, 3, 16, 10, 10, 10, 18, 19, 20, 0, 21, 22, 0, 24, 25, 5, 26, 39 ] class << self attr_accessor :_bel_eof_actions private :_bel_eof_actions, :_bel_eof_actions= end self._bel_eof_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 28, 28, 30, 30, 30, 30, 32, 33, 34, 34, 32, 33, 35, 32, 34, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 0, 0, 0, 0, 0 ] class << self attr_accessor :bel_start end self.bel_start = 1; class << self attr_accessor :bel_first_final end self.bel_first_final = 67; class << self attr_accessor :bel_error end self.bel_error = 0; class << self attr_accessor :bel_en_ident end self.bel_en_ident = 31; class << self attr_accessor :bel_en_string end self.bel_en_string = 33; class << self attr_accessor :bel_en_list end self.bel_en_list = 37; class << self attr_accessor :bel_en_set end self.bel_en_set = 46; class << self attr_accessor :bel_en_set_document end self.bel_en_set_document = 1; begin p ||= 0 pe ||= data.length cs = bel_start end 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 _keys = cs << 1 _inds = _bel_index_offsets[cs] _slen = _bel_key_spans[cs] _wide = data[p].ord _trans = if ( _slen > 0 && _bel_trans_keys[_keys] <= _wide && _wide <= _bel_trans_keys[_keys + 1] ) then _bel_indicies[ _inds + _wide - _bel_trans_keys[_keys] ] else _bel_indicies[ _inds + _slen ] end cs = _bel_trans_targs[_trans] if _bel_trans_actions[_trans] != 0 case _bel_trans_actions[_trans] when 5 then begin (@buffers[:ident] ||= []) << data[p].ord end when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 10 then begin (@buffers[:string] ||= []) << data[p].ord end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 21 then begin @buffers.delete(:string) @buffers.delete(:ident) end when 8 then begin @buffers[:list] = list() end when 14 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 22 then begin #TODO: Mark @buffers[:list] as complete. end when 36 then begin yield @buffers[:list] end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 1 then begin @buffers[:set] = set() end when 3 then begin @buffers[:ident] = [] end begin (@buffers[:ident] ||= []) << data[p].ord end when 29 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin yield @buffers[:ident] end when 4 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << name(@buffers[:ident]) end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 7 then begin @buffers[:string] = [] end begin (@buffers[:string] ||= []) << data[p].ord end when 31 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin yield @buffers[:string] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 15 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 16 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 39 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield @buffers[:set] end when 27 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield( document_property( *@buffers[:set].children)) end when 24 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 38 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield @buffers[:set] end when 12 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield( document_property( *@buffers[:set].children)) end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 18 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 37 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield @buffers[:set] end when 11 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield( document_property( *@buffers[:set].children)) end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 25 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 26 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 19 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 20 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _again 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 case _bel_eof_actions[cs] when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _out break end end end =end # end: ragel require_relative '../ast/node' require_relative '../mixin/buffer' require_relative '../nonblocking_io_wrapper' module BELParser module Parsers module BELScript module SetDocument class << self MAX_LENGTH = 1024 * 128 # 128K def parse(content) return nil unless content Parser.new(content).each do |obj| yield obj end end end private class Parser include Enumerable include BELParser::Parsers::Buffer include BELParser::Parsers::AST::Sexp def initialize(content) @content = content # begin: ragel class << self attr_accessor :_bel_trans_keys private :_bel_trans_keys, :_bel_trans_keys= end self._bel_trans_keys = [ 0, 0, 83, 115, 69, 101, 84, 116, 9, 32, 9, 100, 79, 111, 67, 99, 85, 117, 77, 109, 69, 101, 78, 110, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 48, 122, 10, 122, 34, 34, 34, 92, 10, 10, 92, 92, 123, 123, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 83, 115, 69, 101, 84, 116, 9, 32, 9, 122, 9, 122, 9, 61, 9, 32, 9, 123, 34, 92, 10, 10, 92, 92, 10, 122, 9, 125, 34, 92, 9, 125, 9, 125, 9, 122, 9, 125, 10, 10, 92, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_key_spans private :_bel_key_spans, :_bel_key_spans= end self._bel_key_spans = [ 0, 33, 33, 33, 24, 92, 33, 33, 33, 33, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 75, 113, 1, 59, 1, 1, 1, 117, 59, 117, 117, 114, 117, 1, 1, 33, 33, 33, 24, 114, 114, 53, 24, 115, 59, 1, 1, 113, 117, 59, 117, 117, 114, 117, 1, 1, 0, 0, 0, 0, 0 ] class << self attr_accessor :_bel_index_offsets private :_bel_index_offsets, :_bel_index_offsets= end self._bel_index_offsets = [ 0, 0, 34, 68, 102, 127, 220, 254, 288, 322, 356, 390, 424, 458, 483, 598, 713, 767, 792, 908, 968, 970, 972, 1086, 1204, 1264, 1382, 1500, 1615, 1733, 1735, 1737, 1813, 1927, 1929, 1989, 1991, 1993, 1995, 2113, 2173, 2291, 2409, 2524, 2642, 2644, 2646, 2680, 2714, 2748, 2773, 2888, 3003, 3057, 3082, 3198, 3258, 3260, 3262, 3376, 3494, 3554, 3672, 3790, 3905, 4023, 4025, 4027, 4028, 4029, 4030, 4031 ] class << self attr_accessor :_bel_indicies private :_bel_indicies, :_bel_indicies= end self._bel_indicies = [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14, 1, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 15, 15, 15, 16, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 15, 15, 15, 18, 15, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 15, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 1, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21, 22, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 22, 22, 22, 22, 24, 22, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 22, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 26, 30, 29, 28, 26, 31, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 15, 15, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 15, 15, 15, 32, 15, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 15, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 33, 38, 33, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 39, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 43, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 44, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 45, 42, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 46, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 47, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 48, 1, 49, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 49, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 33, 33, 33, 33, 33, 33, 33, 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, 33, 33, 33, 33, 37, 33, 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, 33, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 52, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 50, 50, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 50, 50, 53, 50, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 50, 50, 54, 50, 55, 1, 41, 39, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 56, 56, 56, 56, 57, 56, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 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, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 56, 56, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 56, 56, 56, 59, 56, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 56, 61, 60, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 64, 62, 65, 60, 64, 62, 67, 66, 69, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 71, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 73, 68, 75, 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, 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, 74, 74, 74, 74, 74, 76, 74, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 79, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 80, 77, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 81, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 82, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 83, 66, 84, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 84, 68, 70, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 68, 68, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 68, 68, 68, 72, 68, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 68, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 86, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 87, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 85, 85, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 85, 85, 88, 85, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 85, 85, 89, 85, 90, 66, 76, 74, 91, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 91, 1, 92, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 92, 1, 93, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 93, 1, 94, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 94, 1, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 95, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 15, 15, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 15, 15, 15, 96, 15, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 97, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 15, 15, 15, 15, 15, 15, 15, 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, 15, 15, 15, 15, 98, 15, 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, 15, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 99, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 101, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 101, 1, 101, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 101, 22, 102, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 22, 22, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 22, 22, 22, 22, 103, 22, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 22, 106, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, 107, 105, 108, 29, 107, 105, 109, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 15, 15, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 15, 15, 15, 110, 15, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 15, 111, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 113, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 115, 33, 117, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 118, 116, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 119, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 120, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 121, 42, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 122, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 123, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 124, 1, 125, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 125, 33, 112, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 33, 33, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 33, 33, 33, 114, 33, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 33, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 126, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 127, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 50, 50, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 50, 50, 128, 50, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 50, 50, 129, 50, 130, 1, 118, 116, 1, 1, 1, 1, 1, 0 ] class << self attr_accessor :_bel_trans_targs private :_bel_trans_targs, :_bel_trans_targs= end self._bel_trans_targs = [ 2, 0, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 15, 16, 17, 18, 0, 19, 22, 23, 19, 20, 21, 0, 67, 67, 22, 0, 23, 24, 27, 28, 29, 24, 25, 30, 0, 26, 27, 29, 26, 27, 29, 27, 0, 26, 27, 28, 29, 67, 0, 32, 68, 32, 0, 34, 34, 35, 36, 69, 0, 38, 0, 38, 39, 42, 43, 44, 39, 40, 45, 0, 41, 42, 44, 41, 42, 44, 42, 0, 41, 42, 43, 44, 70, 47, 48, 49, 50, 50, 51, 52, 51, 52, 53, 54, 55, 58, 59, 55, 56, 57, 71, 71, 58, 59, 60, 63, 64, 65, 60, 61, 66, 62, 63, 65, 62, 63, 65, 63, 62, 63, 64, 65, 71 ] class << self attr_accessor :_bel_trans_actions private :_bel_trans_actions, :_bel_trans_actions= end self._bel_trans_actions = [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 6, 7, 3, 8, 10, 10, 10, 9, 11, 12, 5, 13, 14, 7, 15, 3, 16, 10, 10, 10, 17, 18, 19, 20, 0, 21, 22, 0, 23, 24, 25, 5, 26, 27, 28, 3, 29, 5, 30, 7, 10, 10, 10, 31, 32, 8, 33, 14, 7, 15, 3, 16, 10, 10, 10, 34, 18, 19, 20, 0, 21, 22, 0, 35, 24, 25, 5, 26, 36, 0, 0, 0, 1, 0, 3, 4, 5, 0, 0, 0, 7, 3, 8, 10, 10, 10, 37, 38, 5, 14, 7, 15, 3, 16, 10, 10, 10, 18, 19, 20, 0, 21, 22, 0, 24, 25, 5, 26, 39 ] class << self attr_accessor :_bel_eof_actions private :_bel_eof_actions, :_bel_eof_actions= end self._bel_eof_actions = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 28, 28, 30, 30, 30, 30, 32, 33, 34, 34, 32, 33, 35, 32, 34, 0, 0, 0, 0, 2, 2, 0, 0, 6, 9, 9, 9, 2, 13, 17, 17, 0, 13, 23, 0, 17, 0, 0, 0, 0, 0 ] class << self attr_accessor :bel_start end self.bel_start = 1; class << self attr_accessor :bel_first_final end self.bel_first_final = 67; class << self attr_accessor :bel_error end self.bel_error = 0; class << self attr_accessor :bel_en_ident end self.bel_en_ident = 31; class << self attr_accessor :bel_en_string end self.bel_en_string = 33; class << self attr_accessor :bel_en_list end self.bel_en_list = 37; class << self attr_accessor :bel_en_set end self.bel_en_set = 46; class << self attr_accessor :bel_en_set_document end self.bel_en_set_document = 1; # end: ragel end def each @buffers = {} data = @content.unpack('C*') p = 0 pe = data.length eof = data.length # begin: ragel begin p ||= 0 pe ||= data.length cs = bel_start end 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 _keys = cs << 1 _inds = _bel_index_offsets[cs] _slen = _bel_key_spans[cs] _wide = data[p].ord _trans = if ( _slen > 0 && _bel_trans_keys[_keys] <= _wide && _wide <= _bel_trans_keys[_keys + 1] ) then _bel_indicies[ _inds + _wide - _bel_trans_keys[_keys] ] else _bel_indicies[ _inds + _slen ] end cs = _bel_trans_targs[_trans] if _bel_trans_actions[_trans] != 0 case _bel_trans_actions[_trans] when 5 then begin (@buffers[:ident] ||= []) << data[p].ord end when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 10 then begin (@buffers[:string] ||= []) << data[p].ord end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 21 then begin @buffers.delete(:string) @buffers.delete(:ident) end when 8 then begin @buffers[:list] = list() end when 14 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 22 then begin #TODO: Mark @buffers[:list] as complete. end when 36 then begin yield @buffers[:list] end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 1 then begin @buffers[:set] = set() end when 3 then begin @buffers[:ident] = [] end begin (@buffers[:ident] ||= []) << data[p].ord end when 29 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin yield @buffers[:ident] end when 4 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << name(@buffers[:ident]) end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 7 then begin @buffers[:string] = [] end begin (@buffers[:string] ||= []) << data[p].ord end when 31 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin yield @buffers[:string] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 15 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 16 then begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 39 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield @buffers[:set] end when 27 then begin @buffers[:set] = @buffers[:set] << value(@buffers[:list]) end begin yield( document_property( *@buffers[:set].children)) end when 24 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 38 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield @buffers[:set] end when 12 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:ident]) end begin yield( document_property( *@buffers[:set].children)) end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 18 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 37 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield @buffers[:set] end when 11 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:set] = @buffers[:set] << value(@buffers[:string]) end begin yield( document_property( *@buffers[:set].children)) end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 25 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 26 then begin @buffers[:ident] = identifier(utf8_string(@buffers[:ident])) end begin @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 19 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers.delete(:string) @buffers.delete(:ident) end when 20 then begin @buffers[:string] = string(utf8_string(@buffers[:string])) end begin @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin #TODO: Mark @buffers[:list] as complete. end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _again 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 case _bel_eof_actions[cs] when 2 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 9 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end when 32 then begin @buffers[:list] ||= list() yield @buffers[:list] end when 28 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin @buffers[:ident] ||= [] yield @buffers[:ident] end when 6 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end when 30 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin @buffers[:string] ||= [] yield @buffers[:string] end when 23 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 17 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 35 then begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 34 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end when 13 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end when 33 then begin @buffers[:string] ||= [] @buffers[:string] = string(utf8_string(@buffers[:string]).sub(/\n$/, '')) end begin #TODO: Mark @buffers[:list_arg] string as error. @buffers[:list_arg] = list_item(@buffers[:string]) end begin unless @buffers[:ident].is_a?(::AST::Node) @buffers[:ident] ||= [] @buffers[:ident] = identifier(utf8_string(@buffers[:ident]).sub(/\n$/, '')) end end begin #TODO: Mark @buffers[:list_arg] identifier as error. @buffers[:list_arg] = list_item(@buffers[:ident]) end begin # Append list argument if its value is not empty. if @buffers[:list_arg] list_arg_value = @buffers[:list_arg].children[0].children[0] if list_arg_value != '' @buffers[:list] <<= @buffers[:list_arg] end end end begin @buffers[:list] ||= list() yield @buffers[:list] end end end end if _goto_level <= _out break end end end # end: ragel end end end end end end if __FILE__ == $0 $stdin.each_line do |line| BELParser::Parsers::BELScript::SetDocument.parse(line) { |obj| puts obj.inspect } end end # vim: ft=ruby ts=2 sw=2: # encoding: utf-8