#NEWLINE# def __init__( self , p4action , program ) : #NEWLINE# #INDENT# super ( EbpfAction , self ) . __init__ ( p4action ) #NEWLINE# assert isinstance ( p4action , p4_action ) #NEWLINE# assert isinstance ( program , ebpfProgram . EbpfProgram ) #NEWLINE# self . builtin = False #NEWLINE# self . invalid = False #NEWLINE# for i in range ( 0 , len ( p4action . signature ) ) : #NEWLINE# #INDENT# param = p4action . signature [ i ] #NEWLINE# width = p4action . signature_widths [ i ] #NEWLINE# if ( width is None ) : #NEWLINE# #INDENT# self . invalid = True #NEWLINE# return #NEWLINE# #UNINDENT# argtype = ebpfScalarType . EbpfScalarType ( p4action , width , False , program . config ) #NEWLINE# actionData = EbpfActionData ( param , argtype ) #NEWLINE# self . arguments . append ( actionData )