Method: BELParser::Expression::Parser#initialize
- Defined in:
- lib/bel_parser/expression/parser.rb
#initialize(input, filter = Expression.filter, spec = BELParser::Language.default_specification, namespaces = {}) ⇒ Parser
Returns a new instance of Parser.
53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/bel_parser/expression/parser.rb', line 53 def initialize( input, filter = Expression.filter, spec = BELParser::Language.default_specification, namespaces = {}) @input = input @filter = filter @spec = spec @namespaces = namespaces end |