Class: Xdrgen::AST::Declarations::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/xdrgen/ast/declarations/array.rb

Constant Summary

Constants inherited from Base

Base::TYPE_NODES

Instance Method Summary collapse

Methods inherited from Base

#type

Instance Method Details

#child_typeObject



11
12
13
# File 'lib/xdrgen/ast/declarations/array.rb', line 11

def child_type
  type.text_value
end

#fixed?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/xdrgen/ast/declarations/array.rb', line 7

def fixed?
  size_spec.is_a?(Xdrgen::AST::FixedSize)
end