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

Interface ProgramSourceFile

    • Method Detail

      • getPrograms

        java.util.List getPrograms()
        Returns the value of the 'Programs' containment reference list. The list contents are of type BaseProgram.

        Returns the top level programs in the file.

        Returns:
        the value of the 'Programs' containment reference list.
        See Also:
        COBOLPackage.getProgramSourceFile_Programs()
      • getCompilerDirectingStmts

        java.util.List getCompilerDirectingStmts()
        Returns the value of the 'Compiler Directing Stmts' containment reference list. The list contents are of type CompilerDirectingStmt.

        The list contains the compiler-directing statements that occur anywhere in the source file, except for USE statements, which are in Declaratives.

        Returns:
        the value of the 'Compiler Directing Stmts' containment reference list.
        See Also:
        COBOLPackage.getProgramSourceFile_CompilerDirectingStmts()
      • getComments

        java.util.List getComments()
        Returns the value of the 'Comments' containment reference list. The list contents are of type Comment.

        If the meaning of the 'Comments' containment reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Comments' containment reference list.
        See Also:
        COBOLPackage.getProgramSourceFile_Comments()