Method: ANTLR3::Profile::Profile#initialize
- Defined in:
- lib/antlr3/profile.rb
#initialize ⇒ Profile
Returns a new instance of Profile.
108 109 110 111 112 113 114 115 |
# File 'lib/antlr3/profile.rb', line 108 def initialize init_values = Array.new( self.class.members.length, 0 ) super( *init_values ) self.top_rule = self.parser_class = self.grammar_file = nil self.fixed_looks = DataSet.new self.cyclic_looks = DataSet.new self.syntactic_predicate_looks = DataSet.new end |