Home | History | Annotate | Download | only in antlr3

Lines Matching refs:Module

35 module ANTLR3
68 module Token
226 named XYZ will have a base module named XYZ and a customized CommonToken
285 module Constants
297 TokenSource is a simple mixin module that demands an
306 module TokenSource
340 that need to create token objects This module serves as a mixin that provides
343 Including this module provides a +token_class+ attribute. Instance of the
351 module TokenFactory
415 TokenScheme is a subclass of Module. Thus, it has the method
416 <tt>TokenScheme.new(tk_class = nil) { ... module-level code ...}</tt>, which
417 will evaluate the block in the context of the scheme (module), similarly to
418 Module#module_eval. Before evaluating the block, <tt>.new</tt> will setup the
419 module with the following actions:
423 3. dynamically populate the new scheme module with a couple instance methods
424 4. include ANTLR3::Constants in the new scheme module
429 TokenScheme function as module-level methods of TokenScheme instances, ala
434 essentially like <tt>Module#const_set</tt>, except it forbids constant
480 and extend the scheme module. Since token schemes define the private instance
499 class TokenScheme < ::Module