FreeBSD/sys/contrib/dev/acpica/compiler/asltree.c
/*******************************************************************************
 *
 * FUNCTION:    TrCreateLeafNode
 *
 * PARAMETERS:  ParseOpcode         - New opcode to be assigned to the node
 *
 * RETURN:      Pointer to the new node. Aborts on allocation failure
 *
 * DESCRIPTION: Create a simple leaf node (no children or peers, and no value
 *              assigned to the node)
 *
 ******************************************************************************/
TrCreateLeafNode
PARAMETERS:  ParseOpcode         - New opcode to be assigned to the node

Pointer to the new node. Aborts on allocation failure

Create a simple leaf node (no children or peers, and no value
assigned to the node)
TrCreateLeafNode PARAMETERS : ParseOpcode - New opcode to be assigned to the node Pointer to the new node . Aborts on allocation failure Create a simple leaf node ( no children or peers and no value assigned to the node )
ACPI_PARSE_OBJECT *
TrCreateLeafNode (
    UINT32                  ParseOpcode)
{
    ACPI_PARSE_OBJECT       *Op;
    Op = TrAllocateNode (ParseOpcode);
    DbgPrint (ASL_PARSE_OUTPUT,
        "\nCreateLeafNode  Ln/Col %u/%u NewNode %p  Op %s\n\n",
        Op->Asl.LineNumber, Op->Asl.Column, Op, UtGetOpName (ParseOpcode));
    return (Op);
}
ACPI_PARSE_OBJECT * TrCreateLeafNode ( UINT32 ParseOpcode ) { ACPI_PARSE_OBJECT * Op ; Op = TrAllocateNode ( ParseOpcode ) ; DbgPrint ( ASL_PARSE_OUTPUT , " \n \n \n " , Op -> Asl . LineNumber , Op -> Asl . Column , Op , UtGetOpName ( ParseOpcode ) ) ; return ( Op ) ; }
FUNCTION:    TrCreateLeafNode
 PARAMETERS:  ParseOpcode         - New opcode to be assigned to the node
FUNCTION : TrCreateLeafNode PARAMETERS : ParseOpcode - New opcode to be assigned to the node