Class: Flexr::IR::Spec

Inherits:
Struct
  • Object
show all
Defined in:
lib/flexr/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#backendObject

Returns the value of attribute backend

Returns:

  • (Object)

    the current value of backend



21
22
23
# File 'lib/flexr/ir.rb', line 21

def backend
  @backend
end

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



21
22
23
# File 'lib/flexr/ir.rb', line 21

def class_name
  @class_name
end

#declared_tokensObject

Returns the value of attribute declared_tokens

Returns:

  • (Object)

    the current value of declared_tokens



21
22
23
# File 'lib/flexr/ir.rb', line 21

def declared_tokens
  @declared_tokens
end

#encodingObject

Returns the value of attribute encoding

Returns:

  • (Object)

    the current value of encoding



21
22
23
# File 'lib/flexr/ir.rb', line 21

def encoding
  @encoding
end

#eof_rulesObject

Returns the value of attribute eof_rules

Returns:

  • (Object)

    the current value of eof_rules



21
22
23
# File 'lib/flexr/ir.rb', line 21

def eof_rules
  @eof_rules
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



21
22
23
# File 'lib/flexr/ir.rb', line 21

def options
  @options
end

#rulesObject

Returns the value of attribute rules

Returns:

  • (Object)

    the current value of rules



21
22
23
# File 'lib/flexr/ir.rb', line 21

def rules
  @rules
end

#statesObject

Returns the value of attribute states

Returns:

  • (Object)

    the current value of states



21
22
23
# File 'lib/flexr/ir.rb', line 21

def states
  @states
end

#superclassObject

Returns the value of attribute superclass

Returns:

  • (Object)

    the current value of superclass



21
22
23
# File 'lib/flexr/ir.rb', line 21

def superclass
  @superclass
end

#token_kindObject

Returns the value of attribute token_kind

Returns:

  • (Object)

    the current value of token_kind



21
22
23
# File 'lib/flexr/ir.rb', line 21

def token_kind
  @token_kind
end

#verbatimObject

Returns the value of attribute verbatim

Returns:

  • (Object)

    the current value of verbatim



21
22
23
# File 'lib/flexr/ir.rb', line 21

def verbatim
  @verbatim
end

Instance Method Details

#initial_stateObject



26
27
28
# File 'lib/flexr/ir.rb', line 26

def initial_state
  :initial
end