BARfly Help - BAR Implementation File Reference - Node List Scope

  Node List Scope

Node list scope is the context just inside the braces associated with a node list definition.

NodeListDefinition ::= (((‘choice’ | StructKeyword | ‘block’ ) S Identifier S? ';' S?) | DecisionListDeclaration | StructureDeclaration | BlockDeclaration)+

A node list definition has at least one required list member.  List members include data structure types, block types, and decision list types.

The StructureDeclaration, BlockDeclaration, NodeListDeclaration, and DecisionListDeclaration semantics at node list scope are identical to those at file scope.  You can choose to specify already-declared names, or you can embed the declarations within the node list definition.

If a bit scan block names a node list as its body, the node list’s members are restricted to bit scan blocks, bit field structures, and decision lists containing only bitscan blocks and bit field structures.


  See also:  [Deserialization: Critical steps] [Serialization: Critical steps] [Fundamental components]
[Common declarations] [File scope] [Structure scope] [Block scope]
[Node list scope] [Decision list scope] [Function scope] [Expressions]
[Compiler errors] [Compiler warnings]


BARfly Help Copyright © 2009 Christopher Allen