lib/puppet/pops/validation/checker3_1.rb
# Restrictions on hash key are because of the strange key comparisons/and merge rules in the AST evaluation
# (Even the allowed ones are handled in a strange way).
#
Restrictions on hash key are because of the strange key comparisons/and merge rules in the AST evaluation
(Even the allowed ones are handled in a strange way).
Restrictions on hash key are because of the strange key comparisons / and merge rules in the AST evaluation ( Even the allowed ones are handled in a strange way ) .
def transform_KeyedEntry(o)
    case o.key
    when Model::QualifiedName
    when Model::LiteralString
    when Model::LiteralNumber
    when Model::ConcatenatedString
    else
      acceptor.accept(Issues::ILLEGAL_EXPRESSION, o.key, :feature => 'hash key', :container => o.eContainer)
    end
  end
def transform_KeyedEntry ( o ) case o . key when Model :: QualifiedName when Model :: LiteralString when Model :: LiteralNumber when Model :: ConcatenatedString else acceptor . accept ( Issues :: ILLEGAL_EXPRESSION , o . key , :feature => 'hash key' , :container => o . eContainer ) end end
Restrictions on hash key are because of the strange key comparisons/and merge rules in the AST evaluation
(Even the allowed ones are handled in a strange way).
Restrictions on hash key are because of the strange key comparisons / and merge rules in the AST evaluation ( Even the allowed ones are handled in a strange way ) .
o
<not_specific>