Home
last modified time | relevance | path

Searched refs:token_names (Results 1 – 5 of 5) sorted by relevance

/external/antlr/runtime/Ruby/lib/antlr3/
Dtoken.rb517 token_names[ type ] or super
530 def self.build( *token_names ) argument
531 token_names = [ token_names ].flatten!
532 token_names.compact!
533 token_names.uniq!
534 tk_class = Class === token_names.first ? token_names.shift : nil
535 value_maps, names = token_names.partition { |i| Hash === i }
607 if token_names.has_key?( type_value )
608 current_name = token_names[ type_value ]
613 token_names[ type_value ] = name
[all …]
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DBitSet.pm222 my $token_names;
223 if (defined $args && exists $args->{token_names}) {
224 $token_names = $args->{token_names};
231 if (defined $token_names) {
232 push @str, $token_names->[$i];
DBaseRecognizer.pm164 my ($self, $token_names, $e) = @_;
167 my $msg = $self->get_error_message($e, $token_names);
174 my ($self, $e, $token_names) = @_;
181 $token_name = $token_names->[$e->get_expecting];
191 $token_name = $token_names->[$e->get_expecting];
DLexer.pm251 my ($self, $e, $token_names) = @_;
275 $msg = $self->SUPER::get_error_message($e, $token_names);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg203 Readonly my $token_names => [
228 return $token_names;