tools/grit/grit/node/structure.py
def Construct(parent, name, type, file, encoding='cp1252'):
    '''Creates a new node which is a child of 'parent', with attributes set
    by parameters of the same name.
    '''
    node = StructureNode()
    node.StartParsing('structure', parent)
    node.HandleAttribute('name', name)
    node.HandleAttribute('type', type)
    node.HandleAttribute('file', file)
    node.HandleAttribute('encoding', encoding)
    node.EndParsing()
    return node
Creates a new node which is a child of 'parent', with attributes set
    by parameters of the same name.
    
Creates a new node which is a child of 'parent', with attributes set
by parameters of the same name.
Creates a new node which is a child of ' parent ' with attributes set by parameters of the same name .
def Construct(parent, name, type, file, encoding='cp1252'):
    node = StructureNode()
    node.StartParsing('structure', parent)
    node.HandleAttribute('name', name)
    node.HandleAttribute('type', type)
    node.HandleAttribute('file', file)
    node.HandleAttribute('encoding', encoding)
    node.EndParsing()
    return node
def Construct ( parent , name , type , file , encoding = 'cp1252' ) : node = StructureNode ( ) node . StartParsing ( 'structure' , parent ) node . HandleAttribute ( 'name' , name ) node . HandleAttribute ( 'type' , type ) node . HandleAttribute ( 'file' , file ) node . HandleAttribute ( 'encoding' , encoding ) node . EndParsing ( ) return node
Creates a new node which is a child of 'parent', with attributes set
by parameters of the same name.
Creates a new node which is a child of ' parent ' with attributes set by parameters of the same name .
'''Creates a new node which is a child of 'parent', with attributes set
    by parameters of the same name.
    '''
parent
name
type
file
encoding