class BELParser::Parsers::BELScript::DefineAnnotation::Parser

Attributes

_bel_eof_actions[RW]
_bel_index_offsets[RW]
_bel_indicies[RW]
_bel_key_spans[RW]
_bel_trans_actions[RW]
_bel_trans_keys[RW]
_bel_trans_targs[RW]
bel_en_define_annotation_node[RW]
bel_en_ident_node[RW]
bel_en_list_node[RW]
bel_en_string_node[RW]
bel_error[RW]
bel_first_final[RW]
bel_start[RW]

Public Class Methods

new(content) click to toggle source
# File lib/bel_parser/parsers/bel_script/define_annotation.rb, line 5401
          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, 68, 100, 69, 101, 
        70, 102, 73, 105, 78, 
        110, 69, 101, 9, 32, 
        9, 97, 78, 110, 78, 110, 
        79, 111, 84, 116, 65, 
        97, 84, 116, 73, 105, 
        79, 111, 78, 110, 9, 32, 
        9, 122, 9, 122, 9, 
        97, 83, 115, 9, 32, 
        9, 117, 73, 105, 83, 115, 
        84, 116, 9, 32, 9, 
        123, 9, 34, 34, 92, 
        34, 92, 10, 10, 0, 0, 
        9, 122, 9, 122, 9, 
        34, 34, 92, 34, 92, 
        9, 125, 9, 125, 10, 10, 
        0, 0, 9, 125, 65, 
        97, 84, 116, 84, 116, 
        69, 101, 82, 114, 78, 110, 
        9, 32, 82, 114, 73, 
        108, 9, 32, 9, 32, 
        48, 122, 9, 34, 34, 92, 
        34, 92, 0, 0, 123, 
        123, 9, 34, 34, 92, 
        34, 92, 9, 122, 0, 0, 
        0, 0, 10, 122, 0, 
        0, 0, 0, 9, 125, 
        9, 125, 9, 34, 9, 125, 
        9, 125, 0, 0, 9, 
        125, 10, 10, 0
]

class << self
        attr_accessor :_bel_key_spans
        private :_bel_key_spans, :_bel_key_spans=
end
self._bel_key_spans = [
        0, 33, 33, 33, 33, 33, 33, 24, 
        89, 33, 33, 33, 33, 33, 33, 33, 
        33, 33, 24, 114, 114, 89, 33, 24, 
        109, 33, 33, 33, 24, 115, 26, 59, 
        59, 1, 0, 114, 114, 26, 59, 59, 
        117, 117, 1, 0, 117, 33, 33, 33, 
        33, 33, 33, 24, 33, 36, 24, 24, 
        75, 26, 59, 59, 0, 1, 26, 59, 
        59, 114, 0, 0, 113, 0, 0, 117, 
        117, 26, 117, 117, 0, 117, 1
]

class << self
        attr_accessor :_bel_index_offsets
        private :_bel_index_offsets, :_bel_index_offsets=
end
self._bel_index_offsets = [
        0, 0, 34, 68, 102, 136, 170, 204, 
        229, 319, 353, 387, 421, 455, 489, 523, 
        557, 591, 625, 650, 765, 880, 970, 1004, 
        1029, 1139, 1173, 1207, 1241, 1266, 1382, 1409, 
        1469, 1529, 1531, 1532, 1647, 1762, 1789, 1849, 
        1909, 2027, 2145, 2147, 2148, 2266, 2300, 2334, 
        2368, 2402, 2436, 2470, 2495, 2529, 2566, 2591, 
        2616, 2692, 2719, 2779, 2839, 2840, 2842, 2869, 
        2929, 2989, 3104, 3105, 3106, 3220, 3221, 3222, 
        3340, 3458, 3485, 3603, 3721, 3722, 3840
]

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, 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, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        5, 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, 7, 1, 7, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 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, 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, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 14, 1, 15, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 15, 1, 16, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 16, 1, 17, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 17, 
        1, 18, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        18, 1, 18, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 18, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 20, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 19, 19, 19, 19, 19, 
        19, 19, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 19, 19, 19, 19, 
        20, 19, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 20, 20, 20, 20, 
        20, 20, 20, 20, 19, 21, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 21, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 22, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 19, 19, 
        19, 19, 19, 19, 19, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 19, 
        19, 19, 19, 22, 19, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 22, 
        22, 22, 22, 22, 22, 22, 22, 19, 
        23, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 23, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        24, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        24, 1, 25, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 25, 1, 26, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 26, 1, 26, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 26, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        27, 1, 1, 1, 28, 1, 1, 1, 
        1, 29, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        27, 1, 1, 1, 28, 1, 1, 1, 
        1, 29, 1, 30, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 30, 1, 31, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 31, 1, 32, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 32, 
        1, 33, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        33, 1, 35, 36, 36, 36, 36, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 35, 34, 37, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 38, 34, 36, 36, 
        36, 36, 36, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 36, 34, 37, 
        34, 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, 42, 42, 42, 42, 
        42, 42, 42, 42, 42, 42, 42, 42, 
        42, 42, 42, 42, 42, 42, 42, 42, 
        42, 42, 42, 42, 42, 42, 42, 42, 
        42, 42, 42, 42, 42, 42, 42, 44, 
        42, 45, 34, 42, 47, 48, 48, 48, 
        48, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 47, 46, 49, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 50, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 46, 46, 46, 
        46, 46, 46, 46, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 46, 46, 
        46, 46, 50, 46, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 50, 50, 
        50, 50, 50, 50, 50, 50, 46, 51, 
        52, 52, 52, 52, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 51, 46, 
        53, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 54, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        46, 46, 46, 46, 46, 46, 46, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 46, 46, 46, 46, 54, 46, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 54, 54, 54, 54, 54, 54, 54, 
        54, 46, 52, 52, 52, 52, 52, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 52, 34, 53, 34, 56, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 55, 
        55, 55, 55, 55, 55, 55, 55, 57, 
        55, 59, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 58, 58, 58, 58, 58, 
        58, 58, 58, 60, 58, 61, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 61, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        62, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 63, 34, 64, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 64, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 51, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 65, 
        1, 66, 1, 58, 67, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 67, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 68, 
        19, 19, 19, 69, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 19, 19, 19, 
        19, 19, 19, 19, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 19, 19, 
        19, 19, 69, 19, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 69, 69, 
        69, 69, 69, 69, 69, 69, 19, 19, 
        70, 19, 71, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 71, 1, 72, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 72, 1, 73, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 73, 1, 
        74, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        74, 1, 75, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 75, 1, 76, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 76, 1, 77, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 77, 1, 78, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 78, 
        1, 79, 1, 1, 80, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 79, 1, 1, 80, 1, 81, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 81, 1, 82, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 82, 1, 
        83, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 1, 1, 1, 1, 1, 1, 
        1, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 1, 1, 1, 1, 83, 
        1, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 83, 83, 83, 83, 83, 
        83, 83, 83, 1, 85, 85, 85, 85, 
        85, 84, 84, 84, 84, 84, 84, 84, 
        84, 84, 84, 84, 84, 84, 84, 84, 
        84, 84, 84, 85, 84, 86, 84, 88, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 87, 87, 87, 87, 87, 87, 87, 
        87, 89, 87, 91, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 90, 90, 90, 
        90, 90, 90, 90, 90, 92, 90, 90, 
        93, 1, 94, 94, 94, 94, 94, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 94, 34, 95, 34, 97, 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, 
        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, 96, 96, 96, 96, 96, 98, 
        96, 100, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 99, 99, 99, 99, 99, 
        99, 99, 99, 101, 99, 102, 94, 94, 
        94, 94, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 102, 46, 95, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 103, 103, 103, 103, 
        103, 103, 103, 103, 103, 103, 46, 46, 
        46, 46, 46, 46, 46, 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, 46, 
        46, 46, 46, 103, 46, 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, 46, 
        99, 1, 105, 104, 104, 104, 104, 104, 
        104, 104, 104, 104, 104, 104, 104, 104, 
        104, 104, 104, 104, 104, 104, 104, 104, 
        104, 104, 104, 104, 104, 104, 104, 104, 
        104, 104, 104, 104, 104, 104, 104, 104, 
        106, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 104, 104, 104, 104, 104, 104, 
        104, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 104, 104, 104, 104, 106, 
        104, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 106, 106, 106, 106, 106, 
        106, 106, 106, 104, 104, 84, 107, 108, 
        109, 109, 109, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 107, 46, 110, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 111, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 46, 
        46, 46, 46, 46, 46, 46, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        46, 46, 46, 46, 111, 46, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        111, 111, 111, 111, 111, 111, 111, 111, 
        46, 46, 112, 46, 113, 114, 94, 94, 
        94, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 113, 46, 95, 46, 46, 
        46, 46, 46, 46, 46, 46, 46, 46, 
        46, 46, 46, 103, 103, 103, 103, 103, 
        103, 103, 103, 103, 103, 46, 46, 46, 
        46, 46, 46, 46, 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, 46, 46, 
        46, 46, 103, 46, 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, 46, 46, 
        115, 46, 94, 94, 94, 94, 94, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 94, 34, 95, 34, 116, 117, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 116, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        118, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 34, 34, 34, 34, 34, 34, 34, 
        34, 119, 34, 120, 121, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 120, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 102, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 1, 
        1, 1, 1, 1, 1, 1, 1, 115, 
        1, 1, 122, 123, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 19, 19, 19, 
        19, 122, 19, 19, 19, 19, 19, 19, 
        19, 19, 19, 19, 19, 124, 19, 19, 
        19, 125, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 19, 19, 19, 19, 19, 
        19, 19, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 19, 19, 19, 19, 
        125, 19, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 125, 125, 125, 125, 
        125, 125, 125, 125, 19, 19, 126, 19, 
        127, 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, 6, 7, 8, 
        9, 10, 11, 12, 13, 14, 15, 16, 
        17, 18, 19, 0, 20, 21, 20, 21, 
        22, 23, 24, 25, 45, 52, 26, 27, 
        28, 29, 0, 29, 30, 31, 35, 32, 
        33, 34, 32, 33, 34, 67, 0, 36, 
        37, 38, 44, 36, 37, 38, 44, 39, 
        40, 43, 39, 40, 43, 41, 36, 42, 
        41, 42, 67, 41, 36, 44, 42, 46, 
        47, 48, 49, 50, 51, 29, 53, 54, 
        55, 29, 29, 68, 0, 57, 58, 59, 
        70, 60, 59, 70, 60, 71, 62, 63, 
        64, 74, 66, 64, 74, 66, 65, 77, 
        0, 69, 68, 72, 73, 62, 63, 77, 
        78, 72, 73, 78, 75, 76, 65, 78, 
        75, 76, 75, 76, 65, 77, 78, 76
]

class << self
        attr_accessor :_bel_trans_actions
        private :_bel_trans_actions, :_bel_trans_actions=
end
self._bel_trans_actions = [
        0, 0, 0, 0, 0, 0, 0, 0, 
        0, 0, 0, 0, 0, 0, 0, 0, 
        0, 0, 0, 2, 3, 4, 0, 0, 
        0, 0, 0, 0, 0, 0, 0, 0, 
        0, 5, 7, 0, 0, 0, 0, 9, 
        10, 9, 0, 11, 0, 12, 14, 15, 
        15, 15, 16, 0, 0, 0, 3, 9, 
        10, 9, 0, 11, 0, 18, 18, 18, 
        0, 0, 20, 22, 22, 0, 22, 0, 
        0, 0, 0, 0, 0, 23, 0, 0, 
        0, 24, 25, 3, 27, 0, 0, 9, 
        29, 9, 0, 30, 0, 0, 0, 0, 
        9, 10, 9, 0, 11, 0, 0, 3, 
        35, 36, 0, 15, 15, 15, 15, 16, 
        15, 0, 0, 0, 18, 18, 18, 18, 
        0, 0, 22, 22, 22, 0, 22, 45
]

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, 0, 0, 
        0, 0, 0, 1, 1, 0, 0, 0, 
        0, 0, 0, 0, 0, 6, 6, 8, 
        8, 7, 8, 13, 13, 6, 8, 8, 
        17, 19, 0, 8, 21, 0, 0, 0, 
        0, 0, 0, 0, 0, 0, 0, 0, 
        0, 26, 28, 28, 28, 0, 31, 32, 
        32, 33, 32, 0, 34, 37, 0, 38, 
        39, 40, 41, 42, 42, 43, 44
]

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_node
end
self.bel_en_ident_node = 56;
class << self
        attr_accessor :bel_en_string_node
end
self.bel_en_string_node = 57;
class << self
        attr_accessor :bel_en_list_node
end
self.bel_en_list_node = 61;
class << self
        attr_accessor :bel_en_define_annotation_node
end
self.bel_en_define_annotation_node = 1;


      # end: ragel
          end

Public Instance Methods

each() { |ast_node| ... } click to toggle source
# File lib/bel_parser/parsers/bel_script/define_annotation.rb, line 6061
          def each
            @buffers = {}
            @incomplete = {}
            @list_domain = false
            @url_domain = false
            @pattern_domain = false
            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 3 then
                begin

    trace('IDENTIFIER start_identifier')
    @identifier_started = true
    id_start = p;
                end
        when 36 then
                begin

    trace('IDENTIFIER end_identifier')
    id_end = p
    chars = data[id_start...id_end]
    completed = !chars.empty?
    ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
        when 2 then
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
        when 35 then
                begin

    trace('IDENTIFIER ident_node_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    yield ast_node
                end
        when 9 then
                begin

    trace('STRING start_string')
    @string_opened = true
    p_start = p
                end
        when 7 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
        when 27 then
                begin

    trace('STRING string_node_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    yield ast_node
                end
        when 15 then
                begin

    trace('LIST start_list')
    @list_opened = true
    @incomplete[:list] = list()
                end
        when 45 then
                begin

    trace('LIST stop_list')
    @list_closed = true
                end
        when 18 then
                begin

    trace('LIST add_string')
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    @incomplete[:list] <<= item
                end
        when 5 then
                begin

    trace('DEFINE_ANNOTATION add_list_domain')
    @list_domain = true
                end
        when 24 then
                begin

    trace('DEFINE_ANNOTATION add_uri_domain')
    @uri_domain = true
                end
        when 25 then
                begin

    trace('DEFINE_ANNOTATION add_url_domain')
    @url_domain = true
                end
        when 23 then
                begin

    trace('DEFINE_ANNOTATION add_pattern_domain')
    @pattern_domain = true
                end
        when 22 then
                begin

    trace('IDENTIFIER end_identifier')
    id_end = p
    chars = data[id_start...id_end]
    completed = !chars.empty?
    ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('LIST add_ident')
    ident = @buffers.delete(:ident)
    item = list_item(ident, complete: ident.complete)
    @incomplete[:list] <<= item
                end
        when 4 then
                begin

    trace('IDENTIFIER end_identifier')
    id_end = p
    chars = data[id_start...id_end]
    completed = !chars.empty?
    ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('DEFINE_ANNOTATION add_name')
    name = @buffers.delete(:ident)
    @buffers[:annotation_definition_name] = name
                end
        when 11 then
                begin

    trace('STRING stop_string')
    @string_closed = true
    p_end = p
                end
                begin

    trace('STRING string_end')
    completed = @string_opened && @string_closed
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: true, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
        when 14 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
        when 16 then
                begin

    trace('LIST start_list')
    @list_opened = true
    @incomplete[:list] = list()
                end
                begin

    trace('IDENTIFIER start_identifier')
    @identifier_started = true
    id_start = p;
                end
        when 10 then
                begin

    trace('STRING start_string')
    @string_opened = true
    p_start = p
                end
                begin

    trace('STRING stop_string')
    @string_closed = true
    p_end = p
                end
                begin

    trace('STRING string_end')
    completed = @string_opened && @string_closed
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: true, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
        when 30 then
                begin

    trace('STRING stop_string')
    @string_closed = true
    p_end = p
                end
                begin

    trace('STRING string_end')
    completed = @string_opened && @string_closed
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: true, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('STRING yield_string')
    yield @buffers[:string]
                end
        when 12 then
                begin

    trace('DEFINE_ANNOTATION add_string_value')
    string_node = @buffers.delete(:string)

    case
    when @uri_domain
      leaf = domain(uri(string_node))
      leaf.complete = string_node.complete
    when @url_domain
      leaf = domain(url(string_node))
      leaf.complete = string_node.complete
    when @pattern_domain
      leaf = domain(pattern(string_node))
      leaf.complete = string_node.complete
    else
      leaf = domain(string_node)
      # defined as list, given string
      leaf.complete = false
    end
    @buffers[:annotation_definition_domain] = leaf
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_end')
    annotation_definition_node = annotation_definition()

    name = @buffers.delete(:annotation_definition_name)
    annotation_definition_node <<= keyword(name)

    domain = @buffers.delete(:annotation_definition_domain)
    unless domain.nil?
      annotation_definition_node <<= domain
      annotation_definition_node.complete = domain.complete
    end
    @buffers[:annotation_definition] = annotation_definition_node
                end
                begin

    trace('DEFINE_ANNOTATION yield_define_annotation')
    yield @buffers[:annotation_definition]
                end
        when 29 then
                begin

    trace('STRING start_string')
    @string_opened = true
    p_start = p
                end
                begin

    trace('STRING stop_string')
    @string_closed = true
    p_end = p
                end
                begin

    trace('STRING string_end')
    completed = @string_opened && @string_closed
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: true, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('STRING yield_string')
    yield @buffers[:string]
                end
        when 20 then
                begin

    trace('LIST stop_list')
    @list_closed = true
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('DEFINE_ANNOTATION add_list_value')
    list_node = @buffers.delete(:list)
    if @url_domain
      leaf = domain(url(list_node))
      # defined as url, given list
      leaf.completed = false
    elsif @pattern_domain
      leaf = domain(pattern(list_node))
      # defined as url, given pattern
      leaf.complete = false
    else
      leaf = domain(list_node)
      leaf.complete = list_node.complete
    end
    @buffers[:annotation_definition_domain] = leaf
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_end')
    annotation_definition_node = annotation_definition()

    name = @buffers.delete(:annotation_definition_name)
    annotation_definition_node <<= keyword(name)

    domain = @buffers.delete(:annotation_definition_domain)
    unless domain.nil?
      annotation_definition_node <<= domain
      annotation_definition_node.complete = domain.complete
    end
    @buffers[:annotation_definition] = annotation_definition_node
                end
                begin

    trace('DEFINE_ANNOTATION yield_define_annotation')
    yield @buffers[:annotation_definition]
                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 37 then
                begin

    trace('IDENTIFIER yield_identifier')
    yield @buffers[:ident]
                end
        when 7 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
        when 34 then
                begin

    trace('IDENTIFIER end_identifier')
    id_end = p
    chars = data[id_start...id_end]
    completed = !chars.empty?
    ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('IDENTIFIER yield_identifier')
    yield @buffers[:ident]
                end
        when 1 then
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
        when 31 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('LIST list_node_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    list <<= item
    list.complete = false
    yield list
                end
        when 6 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 26 then
                begin

    trace('STRING string_node_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    yield ast_node
                end
                begin

    trace('STRING string_node_eof')
    yield @buffers[:string]
                end
        when 42 then
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 19 then
                begin

    trace('LIST a_list_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    unless string.nil?
      item = list_item(string, complete: string.complete)
      list <<= item
    end
    ident = @buffers.delete(:ident)
    unless ident.nil?
      item = list_item(ident, complete: ident.complete)
      list <<= item
    end
    if @list_opened && @list_closed
      list.complete = true
    else
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 32 then
                begin

    trace('STRING eof_string')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('LIST list_node_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    list <<= item
    list.complete = false
    yield list
                end
        when 8 then
                begin

    trace('STRING eof_string')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 28 then
                begin

    trace('STRING eof_string')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('STRING string_node_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    yield ast_node
                end
                begin

    trace('STRING string_node_eof')
    yield @buffers[:string]
                end
        when 17 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('LIST a_list_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    unless string.nil?
      item = list_item(string, complete: string.complete)
      list <<= item
    end
    ident = @buffers.delete(:ident)
    unless ident.nil?
      item = list_item(ident, complete: ident.complete)
      list <<= item
    end
    if @list_opened && @list_closed
      list.complete = true
    else
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 44 then
                begin

    trace('LIST stop_list')
    @list_closed = true
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 41 then
                begin

    trace('LIST add_string')
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    @incomplete[:list] <<= item
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 40 then
                begin

    trace('LIST list_node_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    list <<= item
    list.complete = false
    yield list
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 21 then
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('LIST a_list_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    unless string.nil?
      item = list_item(string, complete: string.complete)
      list <<= item
    end
    ident = @buffers.delete(:ident)
    unless ident.nil?
      item = list_item(ident, complete: ident.complete)
      list <<= item
    end
    if @list_opened && @list_closed
      list.complete = true
    else
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 39 then
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('LIST list_node_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    list <<= item
    list.complete = false
    yield list
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 33 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('LIST list_node_eof')
    list = @incomplete.delete(:list)
    string = @buffers.delete(:string)
    item = list_item(string, complete: string.complete)
    list <<= item
    list.complete = false
    yield list
                end
        when 13 then
                begin

    trace('STRING a_string_err')
    p_end = p
    chars = data[p_start...p_end]
    ast_node = string(utf8_string(chars), complete: false, character_range: [p_start, p_end])
    @buffers[:string] = ast_node
                end
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('IDENTIFIER an_ident_err')
    id_end = p
    chars = data[id_start...id_end]
    ast_node = identifier(utf8_string(chars), complete: false, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('DEFINE_ANNOTATION define_annotation_node_eof')
    annotation_definition_node = annotation_definition()

    case
    when @uri_domain
      domain_node = domain(uri())
    when @url_domain
      domain_node = domain(url())
    when @pattern_domain
      domain_node = domain(pattern())
    else
      domain_node = domain()
    end

    domain_node.complete = false
    list_node = @buffers.delete(:list)
    unless list_node.nil?
      domain_node <<= list_node
      domain_node.complete = list_node.complete
    end
    string_node = @buffers.delete(:string)
    unless string_node.nil?
      domain_node <<= string_node
      domain_node.complete = string_node.complete
    end
    annotation_definition_node <<= domain_node
    annotation_definition_node.complete = domain_node.complete
    yield annotation_definition_node
                end
        when 38 then
                begin

    trace('LIST start_list')
    @list_opened = true
    @incomplete[:list] = list()
                end
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
        when 43 then
                begin

    trace('IDENTIFIER end_identifier')
    id_end = p
    chars = data[id_start...id_end]
    completed = !chars.empty?
    ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
    @buffers[:ident] = ast_node
                end
                begin

    trace('IDENTIFIER an_ident_eof')
    if @identifier_started
      id_end = p
      chars = data[id_start...id_end]
      completed = !chars.empty?
      ast_node = identifier(utf8_string(chars), complete: completed, character_range: [id_start, id_end])
      @buffers[:ident] = ast_node
    end
                end
                begin

    trace('LIST add_ident')
    ident = @buffers.delete(:ident)
    item = list_item(ident, complete: ident.complete)
    @incomplete[:list] <<= item
                end
                begin

    trace('LIST list_end')
    if @list_opened && @list_closed
      list = @incomplete.delete(:list)
      list.complete = true
    elsif !@list_closed
      list = @incomplete.delete(:list)
      list.complete = false
    end
    @buffers[:list] = list
                end
                begin

    trace('LIST yield_list')
    yield @buffers[:list]
                end
          end
        end

        end
        if _goto_level <= _out
                break
        end
end
        end

      # end: ragel
          end