Class: LexerKit::DFA::RegexAST::CharClass

Inherits:
Data
  • Object
show all
Defined in:
lib/lexer_kit/dfa/regex_ast.rb

Overview

Character class (e.g., [a-z], [^0-9]) ranges: [[from, to], …]

Instance Attribute Summary collapse

Instance Attribute Details

#metaObject (readonly)

Returns the value of attribute meta

Returns:

  • (Object)

    the current value of meta



24
25
26
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 24

def meta
  @meta
end

#negatedObject (readonly)

Returns the value of attribute negated

Returns:

  • (Object)

    the current value of negated



24
25
26
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 24

def negated
  @negated
end

#rangesObject (readonly)

Returns the value of attribute ranges

Returns:

  • (Object)

    the current value of ranges



24
25
26
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 24

def ranges
  @ranges
end