Class: OCCIANTLR::Lexer
- Inherits:
-
ANTLR3::Lexer
- Object
- ANTLR3::Lexer
- OCCIANTLR::Lexer
- Includes:
- TokenData
- Defined in:
- lib/occiantlr/OCCIANTLRLexer.rb
Defined Under Namespace
Classes: DFA5
Constant Summary collapse
- RULE_NAMES =
[ "T__48", "T__49", "T__50", "T__51", "T__52", "CATEGORY_KEY", "LINK_KEY", "X_OCCI_ATTRIBUTE_KEY", "X_OCCI_LOCATION_KEY", "ACTION", "ACTIONS", "AMPERSAND", "AT", "ATTRIBUTES", "BACKSLASH", "CATEGORY", "CLASS", "COLON", "DASH", "DOT", "EQUALS", "GT", "HASH", "KIND", "LINK", "LOCATION", "LT", "MIXIN", "PERCENT", "PLUS", "QUESTION", "QUOTE", "REL", "SCHEME", "SELF", "SEMICOLON", "SLASH", "SQUOTE", "TERM", "TILDE", "TITLE", "UNDERSCORE", "LBRACKET", "RBRACKET", "LOALPHA", "UPALPHA", "DIGIT", "WS", "ESC" ].freeze
- RULE_METHODS =
[ :t__48!, :t__49!, :t__50!, :t__51!, :t__52!, :category_key!, :link_key!, :x_occi_attribute_key!, :x_occi_location_key!, :action!, :actions!, :ampersand!, :at!, :attributes!, :backslash!, :category!, :class!, :colon!, :dash!, :dot!, :equals!, :gt!, :hash!, :kind!, :link!, :location!, :lt!, :mixin!, :percent!, :plus!, :question!, :quote!, :rel!, :scheme!, :self!, :semicolon!, :slash!, :squote!, :term!, :tilde!, :title!, :underscore!, :lbracket!, :rbracket!, :loalpha!, :upalpha!, :digit!, :ws!, :esc! ].freeze
Instance Method Summary collapse
-
#action! ⇒ Object
lexer rule action! (ACTION) (in OCCIANTLR.g).
-
#actions! ⇒ Object
lexer rule actions! (ACTIONS) (in OCCIANTLR.g).
-
#ampersand! ⇒ Object
lexer rule ampersand! (AMPERSAND) (in OCCIANTLR.g).
-
#at! ⇒ Object
lexer rule at! (AT) (in OCCIANTLR.g).
-
#attributes! ⇒ Object
lexer rule attributes! (ATTRIBUTES) (in OCCIANTLR.g).
-
#backslash! ⇒ Object
lexer rule backslash! (BACKSLASH) (in OCCIANTLR.g).
-
#category! ⇒ Object
lexer rule category! (CATEGORY) (in OCCIANTLR.g).
-
#category_key! ⇒ Object
lexer rule category_key! (CATEGORY_KEY) (in OCCIANTLR.g).
-
#class! ⇒ Object
lexer rule class! (CLASS) (in OCCIANTLR.g).
-
#colon! ⇒ Object
lexer rule colon! (COLON) (in OCCIANTLR.g).
-
#dash! ⇒ Object
lexer rule dash! (DASH) (in OCCIANTLR.g).
-
#digit! ⇒ Object
lexer rule digit! (DIGIT) (in OCCIANTLR.g).
-
#dot! ⇒ Object
lexer rule dot! (DOT) (in OCCIANTLR.g).
-
#equals! ⇒ Object
lexer rule equals! (EQUALS) (in OCCIANTLR.g).
-
#esc! ⇒ Object
lexer rule esc! (ESC) (in OCCIANTLR.g).
-
#gt! ⇒ Object
lexer rule gt! (GT) (in OCCIANTLR.g).
-
#hash! ⇒ Object
lexer rule hash! (HASH) (in OCCIANTLR.g).
-
#initialize(input = nil, options = {}) ⇒ Lexer
constructor
A new instance of Lexer.
- #initialize_dfas ⇒ Object private
-
#kind! ⇒ Object
lexer rule kind! (KIND) (in OCCIANTLR.g).
-
#lbracket! ⇒ Object
lexer rule lbracket! (LBRACKET) (in OCCIANTLR.g).
-
#link! ⇒ Object
lexer rule link! (LINK) (in OCCIANTLR.g).
-
#link_key! ⇒ Object
lexer rule link_key! (LINK_KEY) (in OCCIANTLR.g).
-
#loalpha! ⇒ Object
lexer rule loalpha! (LOALPHA) (in OCCIANTLR.g).
-
#location! ⇒ Object
lexer rule location! (LOCATION) (in OCCIANTLR.g).
-
#lt! ⇒ Object
lexer rule lt! (LT) (in OCCIANTLR.g).
-
#mixin! ⇒ Object
lexer rule mixin! (MIXIN) (in OCCIANTLR.g).
-
#percent! ⇒ Object
lexer rule percent! (PERCENT) (in OCCIANTLR.g).
-
#plus! ⇒ Object
lexer rule plus! (PLUS) (in OCCIANTLR.g).
-
#question! ⇒ Object
lexer rule question! (QUESTION) (in OCCIANTLR.g).
-
#quote! ⇒ Object
lexer rule quote! (QUOTE) (in OCCIANTLR.g).
-
#rbracket! ⇒ Object
lexer rule rbracket! (RBRACKET) (in OCCIANTLR.g).
-
#rel! ⇒ Object
lexer rule rel! (REL) (in OCCIANTLR.g).
-
#scheme! ⇒ Object
lexer rule scheme! (SCHEME) (in OCCIANTLR.g).
-
#self! ⇒ Object
lexer rule self! (SELF) (in OCCIANTLR.g).
-
#semicolon! ⇒ Object
lexer rule semicolon! (SEMICOLON) (in OCCIANTLR.g).
-
#slash! ⇒ Object
lexer rule slash! (SLASH) (in OCCIANTLR.g).
-
#squote! ⇒ Object
lexer rule squote! (SQUOTE) (in OCCIANTLR.g).
-
#t__48! ⇒ Object
- - - - - - - - - - - lexer rules - - - - - - - - - - - - lexer rule t_48! (T_48) (in OCCIANTLR.g).
-
#t__49! ⇒ Object
lexer rule t_49! (T_49) (in OCCIANTLR.g).
-
#t__50! ⇒ Object
lexer rule t_50! (T_50) (in OCCIANTLR.g).
-
#t__51! ⇒ Object
lexer rule t_51! (T_51) (in OCCIANTLR.g).
-
#t__52! ⇒ Object
lexer rule t_52! (T_52) (in OCCIANTLR.g).
-
#term! ⇒ Object
lexer rule term! (TERM) (in OCCIANTLR.g).
-
#tilde! ⇒ Object
lexer rule tilde! (TILDE) (in OCCIANTLR.g).
-
#title! ⇒ Object
lexer rule title! (TITLE) (in OCCIANTLR.g).
-
#token! ⇒ Object
main rule used to study the input at the current position, and choose the proper lexer rule to call in order to fetch the next token.
-
#underscore! ⇒ Object
lexer rule underscore! (UNDERSCORE) (in OCCIANTLR.g).
-
#upalpha! ⇒ Object
lexer rule upalpha! (UPALPHA) (in OCCIANTLR.g).
-
#ws! ⇒ Object
lexer rule ws! (WS) (in OCCIANTLR.g).
-
#x_occi_attribute_key! ⇒ Object
lexer rule x_occi_attribute_key! (X_OCCI_ATTRIBUTE_KEY) (in OCCIANTLR.g).
-
#x_occi_location_key! ⇒ Object
lexer rule x_occi_location_key! (X_OCCI_LOCATION_KEY) (in OCCIANTLR.g).
Constructor Details
#initialize(input = nil, options = {}) ⇒ Lexer
Returns a new instance of Lexer.
117 118 119 120 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 117 def initialize( input=nil, = {} ) super( input, ) end |
Instance Method Details
#action! ⇒ Object
lexer rule action! (ACTION) (in OCCIANTLR.g)
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 342 def action! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 10 ) type = ACTION channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 141:10: 'action' match( "action" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 10 ) end |
#actions! ⇒ Object
lexer rule actions! (ACTIONS) (in OCCIANTLR.g)
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 366 def actions! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 11 ) type = ACTIONS channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 142:11: 'actions' match( "actions" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 11 ) end |
#ampersand! ⇒ Object
lexer rule ampersand! (AMPERSAND) (in OCCIANTLR.g)
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 390 def ampersand! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 12 ) type = AMPERSAND channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 144:4: '&' match( 0x26 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 12 ) end |
#at! ⇒ Object
lexer rule at! (AT) (in OCCIANTLR.g)
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 414 def at! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 13 ) type = AT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 145:6: '@' match( 0x40 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 13 ) end |
#attributes! ⇒ Object
lexer rule attributes! (ATTRIBUTES) (in OCCIANTLR.g)
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 438 def attributes! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 14 ) type = ATTRIBUTES channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 147:4: 'attributes' match( "attributes" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 14 ) end |
#backslash! ⇒ Object
lexer rule backslash! (BACKSLASH) (in OCCIANTLR.g)
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 462 def backslash! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 15 ) type = BACKSLASH channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 149:4: '\\\\' match( 0x5c ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 15 ) end |
#category! ⇒ Object
lexer rule category! (CATEGORY) (in OCCIANTLR.g)
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 486 def category! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 16 ) type = CATEGORY channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 150:11: 'category' match( "category" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 16 ) end |
#category_key! ⇒ Object
lexer rule category_key! (CATEGORY_KEY) (in OCCIANTLR.g)
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 246 def category_key! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 6 ) type = CATEGORY_KEY channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 131:4: 'Category' match( "Category" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 6 ) end |
#class! ⇒ Object
lexer rule class! (CLASS) (in OCCIANTLR.g)
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 510 def class! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 17 ) type = CLASS channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 151:9: 'class' match( "class" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 17 ) end |
#colon! ⇒ Object
lexer rule colon! (COLON) (in OCCIANTLR.g)
534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 534 def colon! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 18 ) type = COLON channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 152:9: ':' match( 0x3a ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 18 ) end |
#dash! ⇒ Object
lexer rule dash! (DASH) (in OCCIANTLR.g)
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 558 def dash! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 19 ) type = DASH channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 153:8: '-' match( 0x2d ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 19 ) end |
#digit! ⇒ Object
lexer rule digit! (DIGIT) (in OCCIANTLR.g)
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1278 def digit! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 47 ) type = DIGIT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 184:12: ( '0' .. '9' )+ # at file 184:12: ( '0' .. '9' )+ match_count_3 = 0 while true alt_3 = 2 look_3_0 = @input.peek( 1 ) if ( look_3_0.between?( 0x30, 0x39 ) ) alt_3 = 1 end case alt_3 when 1 # at line 184:13: '0' .. '9' match_range( 0x30, 0x39 ) else match_count_3 > 0 and break eee = EarlyExit(3) raise eee end match_count_3 += 1 end @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 47 ) end |
#dot! ⇒ Object
lexer rule dot! (DOT) (in OCCIANTLR.g)
582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 582 def dot! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 20 ) type = DOT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 154:7: '.' match( 0x2e ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 20 ) end |
#equals! ⇒ Object
lexer rule equals! (EQUALS) (in OCCIANTLR.g)
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 606 def equals! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 21 ) type = EQUALS channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 155:10: '=' match( 0x3d ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 21 ) end |
#esc! ⇒ Object
lexer rule esc! (ESC) (in OCCIANTLR.g)
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1382 def esc! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 49 ) type = ESC channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 186:12: '\\\\' ( QUOTE | '\\'' ) match( 0x5c ) if @input.peek(1) == 0x22 || @input.peek(1) == 0x27 @input.consume else mse = MismatchedSet( nil ) recover mse raise mse end @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 49 ) end |
#gt! ⇒ Object
lexer rule gt! (GT) (in OCCIANTLR.g)
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 630 def gt! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 22 ) type = GT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 156:6: '>' match( 0x3e ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 22 ) end |
#hash! ⇒ Object
lexer rule hash! (HASH) (in OCCIANTLR.g)
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 654 def hash! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 23 ) type = HASH channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 157:8: '#' match( 0x23 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 23 ) end |
#initialize_dfas ⇒ Object (private)
1859 1860 1861 1862 1863 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1859 def initialize_dfas super rescue nil @dfa5 = DFA5.new( self, 5 ) end |
#kind! ⇒ Object
lexer rule kind! (KIND) (in OCCIANTLR.g)
678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 678 def kind! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 24 ) type = KIND channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 158:8: 'kind' match( "kind" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 24 ) end |
#lbracket! ⇒ Object
lexer rule lbracket! (LBRACKET) (in OCCIANTLR.g)
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1134 def lbracket! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 43 ) type = LBRACKET channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 179:12: '(' match( 0x28 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 43 ) end |
#link! ⇒ Object
lexer rule link! (LINK) (in OCCIANTLR.g)
702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 702 def link! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 25 ) type = LINK channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 159:8: 'link' match( "link" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 25 ) end |
#link_key! ⇒ Object
lexer rule link_key! (LINK_KEY) (in OCCIANTLR.g)
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 270 def link_key! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 7 ) type = LINK_KEY channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 133:4: 'Link' match( "Link" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 7 ) end |
#loalpha! ⇒ Object
lexer rule loalpha! (LOALPHA) (in OCCIANTLR.g)
1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1182 def loalpha! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 45 ) type = LOALPHA channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 182:12: ( 'a' .. 'z' )+ # at file 182:12: ( 'a' .. 'z' )+ match_count_1 = 0 while true alt_1 = 2 look_1_0 = @input.peek( 1 ) if ( look_1_0.between?( 0x61, 0x7a ) ) alt_1 = 1 end case alt_1 when 1 # at line 182:13: 'a' .. 'z' match_range( 0x61, 0x7a ) else match_count_1 > 0 and break eee = EarlyExit(1) raise eee end match_count_1 += 1 end @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 45 ) end |
#location! ⇒ Object
lexer rule location! (LOCATION) (in OCCIANTLR.g)
726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 726 def location! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 26 ) type = LOCATION channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 160:11: 'location' match( "location" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 26 ) end |
#lt! ⇒ Object
lexer rule lt! (LT) (in OCCIANTLR.g)
750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 750 def lt! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 27 ) type = LT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 161:6: '<' match( 0x3c ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 27 ) end |
#mixin! ⇒ Object
lexer rule mixin! (MIXIN) (in OCCIANTLR.g)
774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 774 def mixin! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 28 ) type = MIXIN channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 162:9: 'mixin' match( "mixin" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 28 ) end |
#percent! ⇒ Object
lexer rule percent! (PERCENT) (in OCCIANTLR.g)
798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 798 def percent! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 29 ) type = PERCENT channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 163:11: '%' match( 0x25 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 29 ) end |
#plus! ⇒ Object
lexer rule plus! (PLUS) (in OCCIANTLR.g)
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 822 def plus! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 30 ) type = PLUS channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 164:8: '+' match( 0x2b ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 30 ) end |
#question! ⇒ Object
lexer rule question! (QUESTION) (in OCCIANTLR.g)
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 846 def question! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 31 ) type = QUESTION channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 165:11: '?' match( 0x3f ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 31 ) end |
#quote! ⇒ Object
lexer rule quote! (QUOTE) (in OCCIANTLR.g)
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 870 def quote! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 32 ) type = QUOTE channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 166:9: '\"' match( 0x22 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 32 ) end |
#rbracket! ⇒ Object
lexer rule rbracket! (RBRACKET) (in OCCIANTLR.g)
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1158 def rbracket! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 44 ) type = RBRACKET channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 180:12: ')' match( 0x29 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 44 ) end |
#rel! ⇒ Object
lexer rule rel! (REL) (in OCCIANTLR.g)
894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 894 def rel! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 33 ) type = REL channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 167:7: 'rel' match( "rel" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 33 ) end |
#scheme! ⇒ Object
lexer rule scheme! (SCHEME) (in OCCIANTLR.g)
918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 918 def scheme! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 34 ) type = SCHEME channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 168:10: 'scheme' match( "scheme" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 34 ) end |
#self! ⇒ Object
lexer rule self! (SELF) (in OCCIANTLR.g)
942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 942 def self! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 35 ) type = SELF channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 169:8: 'self' match( "self" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 35 ) end |
#semicolon! ⇒ Object
lexer rule semicolon! (SEMICOLON) (in OCCIANTLR.g)
966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 966 def semicolon! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 36 ) type = SEMICOLON channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 171:4: ';' match( 0x3b ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 36 ) end |
#slash! ⇒ Object
lexer rule slash! (SLASH) (in OCCIANTLR.g)
990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 990 def slash! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 37 ) type = SLASH channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 172:9: '/' match( 0x2f ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 37 ) end |
#squote! ⇒ Object
lexer rule squote! (SQUOTE) (in OCCIANTLR.g)
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1014 def squote! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 38 ) type = SQUOTE channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 173:10: '\\'' match( 0x27 ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 38 ) end |
#t__48! ⇒ Object
- - - - - - - - - - - lexer rules - - - - - - - - - - - - lexer rule t_48! (T_48) (in OCCIANTLR.g)
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 126 def t__48! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 1 ) type = T__48 channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 7:9: '{' match( 0x7b ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 1 ) end |
#t__49! ⇒ Object
lexer rule t_49! (T_49) (in OCCIANTLR.g)
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 150 def t__49! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 2 ) type = T__49 channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 8:9: 'mutable' match( "mutable" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 2 ) end |
#t__50! ⇒ Object
lexer rule t_50! (T_50) (in OCCIANTLR.g)
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 174 def t__50! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 3 ) type = T__50 channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 9:9: 'immutable' match( "immutable" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 3 ) end |
#t__51! ⇒ Object
lexer rule t_51! (T_51) (in OCCIANTLR.g)
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 198 def t__51! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 4 ) type = T__51 channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 10:9: 'required' match( "required" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 4 ) end |
#t__52! ⇒ Object
lexer rule t_52! (T_52) (in OCCIANTLR.g)
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 222 def t__52! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 5 ) type = T__52 channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 11:9: '}' match( 0x7d ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 5 ) end |
#term! ⇒ Object
lexer rule term! (TERM) (in OCCIANTLR.g)
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1038 def term! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 39 ) type = TERM channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 174:8: 'term' match( "term" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 39 ) end |
#tilde! ⇒ Object
lexer rule tilde! (TILDE) (in OCCIANTLR.g)
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1062 def tilde! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 40 ) type = TILDE channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 175:9: '~' match( 0x7e ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 40 ) end |
#title! ⇒ Object
lexer rule title! (TITLE) (in OCCIANTLR.g)
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1086 def title! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 41 ) type = TITLE channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 176:9: 'title' match( "title" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 41 ) end |
#token! ⇒ Object
main rule used to study the input at the current position, and choose the proper lexer rule to call in order to fetch the next token
usually, you don't make direct calls to this method, but instead use the next_token method, which will build and emit the actual next token
1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1420 def token! # at line 1:8: ( T__48 | T__49 | T__50 | T__51 | T__52 | CATEGORY_KEY | LINK_KEY | X_OCCI_ATTRIBUTE_KEY | X_OCCI_LOCATION_KEY | ACTION | ACTIONS | AMPERSAND | AT | ATTRIBUTES | BACKSLASH | CATEGORY | CLASS | COLON | DASH | DOT | EQUALS | GT | HASH | KIND | LINK | LOCATION | LT | MIXIN | PERCENT | PLUS | QUESTION | QUOTE | REL | SCHEME | SELF | SEMICOLON | SLASH | SQUOTE | TERM | TILDE | TITLE | UNDERSCORE | LBRACKET | RBRACKET | LOALPHA | UPALPHA | DIGIT | WS | ESC ) alt_5 = 49 alt_5 = @dfa5.predict( @input ) case alt_5 when 1 # at line 1:10: T__48 t__48! when 2 # at line 1:16: T__49 t__49! when 3 # at line 1:22: T__50 t__50! when 4 # at line 1:28: T__51 t__51! when 5 # at line 1:34: T__52 t__52! when 6 # at line 1:40: CATEGORY_KEY category_key! when 7 # at line 1:53: LINK_KEY link_key! when 8 # at line 1:62: X_OCCI_ATTRIBUTE_KEY x_occi_attribute_key! when 9 # at line 1:83: X_OCCI_LOCATION_KEY x_occi_location_key! when 10 # at line 1:103: ACTION action! when 11 # at line 1:110: ACTIONS actions! when 12 # at line 1:118: AMPERSAND ampersand! when 13 # at line 1:128: AT at! when 14 # at line 1:131: ATTRIBUTES attributes! when 15 # at line 1:142: BACKSLASH backslash! when 16 # at line 1:152: CATEGORY category! when 17 # at line 1:161: CLASS class! when 18 # at line 1:167: COLON colon! when 19 # at line 1:173: DASH dash! when 20 # at line 1:178: DOT dot! when 21 # at line 1:182: EQUALS equals! when 22 # at line 1:189: GT gt! when 23 # at line 1:192: HASH hash! when 24 # at line 1:197: KIND kind! when 25 # at line 1:202: LINK link! when 26 # at line 1:207: LOCATION location! when 27 # at line 1:216: LT lt! when 28 # at line 1:219: MIXIN mixin! when 29 # at line 1:225: PERCENT percent! when 30 # at line 1:233: PLUS plus! when 31 # at line 1:238: QUESTION question! when 32 # at line 1:247: QUOTE quote! when 33 # at line 1:253: REL rel! when 34 # at line 1:257: SCHEME scheme! when 35 # at line 1:264: SELF self! when 36 # at line 1:269: SEMICOLON semicolon! when 37 # at line 1:279: SLASH slash! when 38 # at line 1:285: SQUOTE squote! when 39 # at line 1:292: TERM term! when 40 # at line 1:297: TILDE tilde! when 41 # at line 1:303: TITLE title! when 42 # at line 1:309: UNDERSCORE underscore! when 43 # at line 1:320: LBRACKET lbracket! when 44 # at line 1:329: RBRACKET rbracket! when 45 # at line 1:338: LOALPHA loalpha! when 46 # at line 1:346: UPALPHA upalpha! when 47 # at line 1:354: DIGIT digit! when 48 # at line 1:360: WS ws! when 49 # at line 1:363: ESC esc! end end |
#underscore! ⇒ Object
lexer rule underscore! (UNDERSCORE) (in OCCIANTLR.g)
1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1110 def underscore! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 42 ) type = UNDERSCORE channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 178:4: '_' match( 0x5f ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 42 ) end |
#upalpha! ⇒ Object
lexer rule upalpha! (UPALPHA) (in OCCIANTLR.g)
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1230 def upalpha! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 46 ) type = UPALPHA channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 183:12: ( 'A' .. 'Z' )+ # at file 183:12: ( 'A' .. 'Z' )+ match_count_2 = 0 while true alt_2 = 2 look_2_0 = @input.peek( 1 ) if ( look_2_0.between?( 0x41, 0x5a ) ) alt_2 = 1 end case alt_2 when 1 # at line 183:13: 'A' .. 'Z' match_range( 0x41, 0x5a ) else match_count_2 > 0 and break eee = EarlyExit(2) raise eee end match_count_2 += 1 end @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 46 ) end |
#ws! ⇒ Object
lexer rule ws! (WS) (in OCCIANTLR.g)
1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 1326 def ws! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 48 ) type = WS channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 185:12: ( '\\t' | ' ' | '\\r' | '\\n' | '\\u000C' )+ # at file 185:12: ( '\\t' | ' ' | '\\r' | '\\n' | '\\u000C' )+ match_count_4 = 0 while true alt_4 = 2 look_4_0 = @input.peek( 1 ) if ( look_4_0.between?( 0x9, 0xa ) || look_4_0.between?( 0xc, 0xd ) || look_4_0 == 0x20 ) alt_4 = 1 end case alt_4 when 1 # at line if @input.peek( 1 ).between?( 0x9, 0xa ) || @input.peek( 1 ).between?( 0xc, 0xd ) || @input.peek(1) == 0x20 @input.consume else mse = MismatchedSet( nil ) recover mse raise mse end else match_count_4 > 0 and break eee = EarlyExit(4) raise eee end match_count_4 += 1 end @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 48 ) end |
#x_occi_attribute_key! ⇒ Object
lexer rule x_occi_attribute_key! (X_OCCI_ATTRIBUTE_KEY) (in OCCIANTLR.g)
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 294 def x_occi_attribute_key! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 8 ) type = X_OCCI_ATTRIBUTE_KEY channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 135:4: 'X-OCCI-Attribute' match( "X-OCCI-Attribute" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 8 ) end |
#x_occi_location_key! ⇒ Object
lexer rule x_occi_location_key! (X_OCCI_LOCATION_KEY) (in OCCIANTLR.g)
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'lib/occiantlr/OCCIANTLRLexer.rb', line 318 def x_occi_location_key! # -> uncomment the next line to manually enable rule tracing # trace_in( __method__, 9 ) type = X_OCCI_LOCATION_KEY channel = ANTLR3::DEFAULT_CHANNEL # - - - - main rule block - - - - # at line 137:4: 'X-OCCI-Location' match( "X-OCCI-Location" ) @state.type = type @state.channel = channel ensure # -> uncomment the next line to manually enable rule tracing # trace_out( __method__, 9 ) end |