Class: ABNF::Compiler::Grammar::CharVal
- Inherits:
-
Object
- Object
- ABNF::Compiler::Grammar::CharVal
- Includes:
- Compiler
- Defined in:
- lib/abnf/compiler/grammar/char_val.rb
Constant Summary collapse
- PATTERN =
%r{\A"(?<string>[\x20-\x21\x23-\x7E]*)"}
Instance Attribute Summary
Attributes included from Compiler
Instance Method Summary collapse
Methods included from Compiler
Instance Method Details
#call ⇒ Object
9 10 11 |
# File 'lib/abnf/compiler/grammar/char_val.rb', line 9 def call ABNF::Compiler::Rule::TerminalValue.new match_data['string'] end |