Home | History | Annotate | Download | only in antlr3

Lines Matching refs:TokenScheme

373 =begin rdoc ANTLR3::TokenScheme
415 TokenScheme is a subclass of Module. Thus, it has the method
416 <tt>TokenScheme.new(tk_class = nil) { ... module-level code ...}</tt>, which
426 As TokenScheme the class functions as a metaclass, figuring out some of the
429 TokenScheme function as module-level methods of TokenScheme instances, ala
432 <tt>TokenScheme#define_token(name_symbol, int_value)</tt> adds a constant
437 <tt>TokenScheme#define_tokens</tt> is a convenience method for defining many
440 <tt>TokenScheme#register_name(value, name_string)</tt> specifies a custom
450 === Sample TokenScheme Construction
452 TokenData = ANTLR3::TokenScheme.new do
478 When a TokenScheme is created, it will define a subclass of ANTLR3::CommonToken
486 When a TokenScheme is included in a recognizer class, the class will now have
494 as a parameter to TokenScheme.new, which will be used in place of the
499 class TokenScheme < ::Module