Macro: CHECK$METHOD$ARGUMENT$LIST

Module location: FMAC line 6677 (view source)

Check list of arguments. Expected line could start with OVERLOADED or RETURNS. Otherwise it will start with a list of type, identifier ordered pairs.

  #PUSH !q
  #IF (!0>0)
    #IFSAME !1 OVERLOADED
      // Start parse from the beginning (just ignores OVERLOADED)
      CHECK$METHOD$ARGUMENT$LIST !2 !3 !4 !5 !6 !7 !8 !9
    #ElSE
      #IFSAME !1 RETURNS
        // Look for return type that must follow it.
        CHECK$FOR$RETURN$TYPE !2 !3 !4 !5 !6 !7 !8 !9
      #ELSE
        #DTYPE Q$ !1 // only check if there is a valid data type
        #If (!q>-1) // Check for the various types. If we find them, parse for an identifier with CHECK$METHOD$ARGUMENT$LIST$FOR$ID
            CHECK$METHOD$ARGUMENT$LIST$FOR$ID !2 !3 !4 !5 !6 !7 !8 !9
        #ENDIF
      #ENDIF
    #ENDIF
  #ENDIF
  #POP Q$