Class: Rubyang::Model::Module

Inherits:
ArgStmt show all
Defined in:
lib/rubyang/model.rb

Instance Method Summary collapse

Methods inherited from ArgStmt

#arg, #arg_regexp, #initialize, #to_s, #valid_arg?

Methods inherited from BaseStmt

#has_substmt?, #initialize, #not_schema_node_substmts, #schema_node_substmts, #substmt, #substmts, #to_s, #to_yang, #without_not_schema_node_substmts

Constructor Details

This class inherits a constructor from Rubyang::Model::ArgStmt

Instance Method Details

#substatementsObject



174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# File 'lib/rubyang/model.rb', line 174

def substatements
  {
    :'anyxml'       => 0..Float::INFINITY,
    :'augment'      => 0..Float::INFINITY,
    :'choice'       => 0..Float::INFINITY,
    :'contact'      => 0..1,
    :'container'    => 0..Float::INFINITY,
    :'description'  => 0..1,
    :'deviation'    => 0..Float::INFINITY,
    :'extension'    => 0..Float::INFINITY,
    :'feature'      => 0..Float::INFINITY,
    :'grouping'     => 0..Float::INFINITY,
    :'identity'     => 0..Float::INFINITY,
    :'import'       => 0..Float::INFINITY,
    :'include'      => 0..Float::INFINITY,
    :'leaf'         => 0..Float::INFINITY,
    :'leaf-list'    => 0..Float::INFINITY,
    :'list'         => 0..Float::INFINITY,
    :'namespace'    => 1..1,
    :'notification' => 0..Float::INFINITY,
    :'organization' => 0..1,
    :'prefix'       => 1..1,
    :'reference'    => 0..1,
    :'revision'     => 0..Float::INFINITY,
    :'rpc'          => 0..Float::INFINITY,
    :'typedef'      => 0..Float::INFINITY,
    :'uses'         => 0..Float::INFINITY,
    :'yang-version' => 0..1,
    :'unknown'      => 0..Float::INFINITY,
  }
end