Searched refs:token_name (Results 1 – 7 of 7) sorted by relevance
38 @ts.token_name(5).should == 'B'39 @ts.token_name(6).should == "'+'"40 @ts.token_name(-1).should == '<EOF>'41 @ts.token_name(7).should == '<UNKNOWN: 7>'
436 token_name = token_name( e.expecting )437 "extraneous input #{ token_error_display( e.unexpected_token ) } expecting #{ token_name }"439 token_name = token_name( e.expecting )440 "missing #{ token_name } at #{ token_error_display( e.symbol ) }"442 token_name = token_name( e.expecting )443 "mismatched input #{ token_error_display( e.symbol ) } expecting #{ token_name }"445 token_name = token_name( e.expecting )446 "mismatched tree node: #{ e.symbol } expecting #{ token_name }"479 when name = token_name( token.type ) rescue nil then "<#{ name }>"
155 token_name( type )208 def token_name( type ) method252 def self.token_name( type ) singletonMethod in ANTLR3.CommonToken519 ::ANTLR3::CommonToken.token_name( type )557 for token_name, token_value in token_map558 define_token( token_name, token_value )
124 name = token_name( expected_token_type ).to_s
177 my $token_name;179 $token_name = 'EOF';181 $token_name = $token_names->[$e->get_expecting];185 . ' expecting ' . $token_name;187 my $token_name;189 $token_name = 'EOF';191 $token_name = $token_names->[$e->get_expecting];195 . ' expecting ' . $token_name;
252 token_name = @tokenizer.text254 token_name == 'nil' and return @adaptor.create_flat_list256 text = token_name264 node_type = @token_scheme[ token_name ] || INVALID_TOKEN_TYPE
172 self.token_name = safe_name(name)215 self.token_name = safe_name('_'.join([container.name, self.name]))