class ABNF::Term
Public Instance Methods
recursion(syms, lhs)
click to toggle source
# File lib/abnf/regexp.rb, line 335 def recursion(syms, lhs) NonRecursion end
regexp_tree()
click to toggle source
# File lib/abnf/regexp.rb, line 393 def regexp_tree() RegexpTree.charclass(@natset) end
remove_just_recursion(n)
click to toggle source
# File lib/abnf/regexp.rb, line 339 def remove_just_recursion(n) self end
split_left_recursion(n)
click to toggle source
# File lib/abnf/regexp.rb, line 343 def split_left_recursion(n) [self, EmptySet] end
Also aliased as: split_right_recursion
split_recursion(n)
click to toggle source
# File lib/abnf/regexp.rb, line 348 def split_recursion(n) [EmptySet, self, EmptySet] end
useful?(useful_names)
click to toggle source
# File lib/abnf/abnf.rb, line 124 def useful?(useful_names) true end