Lines Matching refs:grammar_files
41 def self.define( *grammar_files ) argument
42 lib = new( *grammar_files )
48 def initialize( *grammar_files ) argument
49 grammar_files = [ grammar_files ].flatten!
50 options = Hash === grammar_files.last ? grammar_files.pop : {}
55 grammar_files.empty? or grammar_set( grammar_files )
64 def grammar_set( *grammar_files ) argument
65 grammar_files = [ grammar_files ].flatten!
67 Hash === grammar_files.last ? grammar_files.pop : {}
69 set = GrammarSet.new( grammar_files, options )
120 def initialize( grammar_files, options = {} ) argument
121 @load_path = grammar_files.map { | f | File.dirname( f ) }
130 @grammars = grammar_files.map do | file |