Home
last modified time | relevance | path

Searched refs:stop_index (Results 1 – 4 of 4) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb482 @stop_index = payload.stop_index
530 def stop_index method in ANTLR3.CommonTree
536 alias token_stop_index= stop_index=
538 alias token_stop_index stop_index
568 @stop_index = last.stop_index
785 tree.stop_index = stop
1200 stop_index = @adaptor.token_stop_index( start )
1204 stop_index = @adaptor.token_stop_index( stop )
1208 return @token_stream.extract_text( start_index, stop_index )
1211 stop_index = @nodes.index( stop ) || @nodes.length
[all …]
Drecognizers.rb867 stop_index = rule_memoization( rule, @input.index )
868 case stop_index
873 @input.seek( stop_index + 1 )
879 stop_index = success ? @input.index - 1 : MEMO_RULE_FAILED
880 memo = @state.rule_memory[ rule ] and memo[ start_index ] = stop_index
Dprofile.rb255 stop_index = parser.rule_memoization( rule, @parser.input.index )
256 if stop_index == MEMO_RULE_UNKNOWN
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DBaseRecognizer.pm524 my $stop_index = $self->state->rule_memo->[$rule_index]->{$rule_start_index};
525 if (!defined $stop_index) {
528 return $stop_index;
536 my $stop_index = $self->get_rule_memoization($rule_index, $input->index());
537 if ($stop_index == $self->MEMO_RULE_UNKNOWN) {
541 if ($stop_index == $self->MEMO_RULE_FAILED) {
544 $input->seek($stop_index + 1);