Module: PlcUtil::Awl::AwlGrammar::UdtNode
- Includes:
- StructHelpers
- Defined in:
- lib/plcutil/siemens/awl/treetop_nodes.rb
Instance Method Summary collapse
Methods included from StructHelpers
Instance Method Details
#visit(root) ⇒ Object
40 41 42 43 44 45 |
# File 'lib/plcutil/siemens/awl/treetop_nodes.rb', line 40 def visit(root) root[:udts] << {}.tap do |udt| name.hash_entry udt udt[:entries] = struct_visit_helper root_struct_decl.struct_data_type end end |