OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:token_names
(Results
1 - 7
of
7
) sorted by null
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-scheme.rb
33
@ts::
TOKEN_NAMES
.should == {
53
@a_class.send(:
token_names
).should == {
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
BitSet.pm
222
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];
BaseRecognizer.pm
162
Readonly my $usage => 'void display_recognition_error(String[]
token_names
, RecognitionException e)';
164
my ($self, $
token_names
, $e) = @_;
167
my $msg = $self->get_error_message($e, $
token_names
);
172
Readonly my $usage => 'String get_error_message(RecognitionException e, String[]
token_names
)';
174
my ($self, $e, $
token_names
) = @_;
181
$token_name = $
token_names
->[$e->get_expecting];
191
$token_name = $
token_names
->[$e->get_expecting];
Lexer.pm
251
my ($self, $e, $
token_names
) = @_;
275
$msg = $self->SUPER::get_error_message($e, $
token_names
);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
token.rb
422
2. add a new constant,
TOKEN_NAMES
, which is a hash that maps types to names
436
inverse type-to-name map to its own <tt>
TOKEN_NAMES
</tt> table.
487
the token types as named constants, a type-to-name map constant +
TOKEN_NAMES
+,
507
const_set( :
TOKEN_NAMES
, ::ANTLR3::Constants::BUILT_IN_TOKEN_NAMES.clone )
514
define_method( :
token_names
) { scheme::
TOKEN_NAMES
}
517
token_names
[ type ] or super
522
module_function :token_name, :
token_names
530
def self.build( *
token_names
)
531
token_names
= [ token_names ].flatten
[
all
...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
wizard.rb
57
token_names
= Array.new(4, '') + %w(VAR NUMBER EQ PLUS MINUS MULT DIV)
59
wizard = ANTLR3::AST::Wizard.new(adaptor,
token_names
)
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
Perl5.stg
203
Readonly my $
token_names
=> [
228
return $
token_names
;
[
all
...]
Completed in 59 milliseconds