sys/contrib/dev/acpica/source/compiler/cvcompiler.c
/*******************************************************************************
 *
 * FUNCTION:    CvParseOpBlockType
 *
 * PARAMETERS:  Op              - Object to be examined
 *
 * RETURN:      BlockType - not a block, parens, braces, or even both.
 *
 * DESCRIPTION: Type of block for this ASL parseop (parens or braces)
 *              keep this in sync with aslprimaries.y, aslresources.y and
 *              aslrules.y
 *
 ******************************************************************************/
CvParseOpBlockType
PARAMETERS:  Op              - Object to be examined

not a block, parens, braces, or even both.

Type of block for this ASL parseop (parens or braces)
keep this in sync with aslprimaries.y, aslresources.y and
aslrules.y
CvParseOpBlockType PARAMETERS : Op - Object to be examined not a block parens braces or even both . Type of block for this ASL parseop ( parens or braces ) keep this in sync with aslprimaries . y aslresources . y and aslrules . y
UINT32
CvParseOpBlockType (
    ACPI_PARSE_OBJECT       *Op)
{
    if (!Op)
    {
        return (BLOCK_NONE);
    }
    switch (Op->Asl.ParseOpcode)
    {
    case PARSEOP_VAR_PACKAGE:
    case PARSEOP_BANKFIELD:
    case PARSEOP_BUFFER:
    case PARSEOP_CASE:
    case PARSEOP_DEVICE:
    case PARSEOP_FIELD:
    case PARSEOP_FOR:
    case PARSEOP_FUNCTION:
    case PARSEOP_IF:
    case PARSEOP_ELSEIF:
    case PARSEOP_INDEXFIELD:
    case PARSEOP_METHOD:
    case PARSEOP_POWERRESOURCE:
    case PARSEOP_PROCESSOR:
    case PARSEOP_DATABUFFER:
    case PARSEOP_SCOPE:
    case PARSEOP_SWITCH:
    case PARSEOP_THERMALZONE:
    case PARSEOP_WHILE:
    case PARSEOP_RESOURCETEMPLATE: 
    case PARSEOP_VENDORLONG:
    case PARSEOP_VENDORSHORT:
    case PARSEOP_INTERRUPT:
    case PARSEOP_IRQNOFLAGS:
    case PARSEOP_IRQ:
    case PARSEOP_GPIO_INT:
    case PARSEOP_GPIO_IO:
    case PARSEOP_DMA:
    case PARSEOP_DEFINITION_BLOCK:
        return (BLOCK_PAREN | BLOCK_BRACE);
    default:
        return (BLOCK_NONE);
    }
}
UINT32 CvParseOpBlockType ( ACPI_PARSE_OBJECT * Op ) { if ( ! Op ) { return ( BLOCK_NONE ) ; } switch ( Op -> Asl . ParseOpcode ) { case PARSEOP_VAR_PACKAGE : case PARSEOP_BANKFIELD : case PARSEOP_BUFFER : case PARSEOP_CASE : case PARSEOP_DEVICE : case PARSEOP_FIELD : case PARSEOP_FOR : case PARSEOP_FUNCTION : case PARSEOP_IF : case PARSEOP_ELSEIF : case PARSEOP_INDEXFIELD : case PARSEOP_METHOD : case PARSEOP_POWERRESOURCE : case PARSEOP_PROCESSOR : case PARSEOP_DATABUFFER : case PARSEOP_SCOPE : case PARSEOP_SWITCH : case PARSEOP_THERMALZONE : case PARSEOP_WHILE : case PARSEOP_RESOURCETEMPLATE : case PARSEOP_VENDORLONG : case PARSEOP_VENDORSHORT : case PARSEOP_INTERRUPT : case PARSEOP_IRQNOFLAGS : case PARSEOP_IRQ : case PARSEOP_GPIO_INT : case PARSEOP_GPIO_IO : case PARSEOP_DMA : case PARSEOP_DEFINITION_BLOCK : return ( BLOCK_PAREN | BLOCK_BRACE ) ; default : return ( BLOCK_NONE ) ; } }
FUNCTION:    CvParseOpBlockType
 PARAMETERS:  Op              - Object to be examined
FUNCTION : CvParseOpBlockType PARAMETERS : Op - Object to be examined
/* From aslprimaries.y */ /* From aslresources.y */ /* optional parens */ /* From aslrules.y */