com.ibm.etools.cobol.application.model.cobol

Interface ActualParameter

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier


    public interface ActualParameter
    extends ASTNode
    A representation of a parameter in the USING phrase of a CALL statement.

    The following features are supported:

    See Also:
    COBOLPackage.getActualParameter()
    • Method Detail

      • getArg

        DataRefOrLiteral getArg()
        Returns the value of the 'Arg' containment reference.

        The value is the data item or literal that is the parameter. This method returns null if the OMITTED keyword is present, or if the parameter is a file name.

        Returns:
        the value of the 'Arg' containment reference.
        See Also:
        setArg(DataRefOrLiteral), COBOLPackage.getActualParameter_Arg()
      • setArg

        void setArg(DataRefOrLiteral value)
        Sets the value of the 'Arg' containment reference.
        Parameters:
        value - the new value of the 'Arg' containment reference.
        See Also:
        getArg()
      • getFileArg

        FileDescriptionEntry getFileArg()
        Returns the value of the 'File Arg' reference.

        The value is the file description entry corresponding to the file name. If the parameter is not a file name, the value is null.

        Returns:
        the value of the 'File Arg' reference.
        See Also:
        setFileArg(FileDescriptionEntry), COBOLPackage.getActualParameter_FileArg()