Class: Idl::AryElementAccessAst

Inherits:
AstNode
  • Object
show all
Defined in:
lib/udb/idl/condition_to_udb.rb

Instance Method Summary collapse

Instance Method Details

#to_udb_h(symtab) ⇒ UdbHashType

Parameters:

  • symtab (Idl::SymbolTable)

Returns:



113
114
115
116
117
118
119
120
121
# File 'lib/udb/idl/condition_to_udb.rb', line 113

def to_udb_h(symtab)
  {
    "param" => {
      "name" => var.name,
      "index" => index.value(symtab),
      "equal" => true
    }
  }
end