class ABNF::Parser::Node::Alternation

Attributes

abnf[R]
match[R]

Public Class Methods

new(match, abnf) click to toggle source
# File lib/abnf/parser/node.rb, line 57
def initialize match, abnf
  @abnf = abnf
  @match = match
end

Public Instance Methods

text() click to toggle source
# File lib/abnf/parser/node.rb, line 62
def text
  match.text
end