com.ibm.etools.cobol.application.model.cobol
Interface ProgramSourceFile

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

public interface ProgramSourceFile
extends SourceFile

A representation of a file that contains one or more COBOL programs.

The following features are supported:

See Also:
COBOLPackage.getProgramSourceFile()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getCompilerDirectingStmts()
          Returns the value of the 'Compiler Directing Stmts' containment reference list.
 java.util.List getPrograms()
          Returns the value of the 'Programs' containment reference list.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.NamedElement
getName, setName
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
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()