Class: Ruby::Rego::Parser::IdentifierContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby/rego/parser.rb

Overview

Bundles identifier parsing configuration for error messages and validation.

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_typesObject

Returns the value of attribute allowed_types

Returns:

  • (Object)

    the current value of allowed_types



72
73
74
# File 'lib/ruby/rego/parser.rb', line 72

def allowed_types
  @allowed_types
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



72
73
74
# File 'lib/ruby/rego/parser.rb', line 72

def name
  @name
end