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

Interface ASTNode

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String copyright 
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      short getBeginColumn()
      Returns the value of the 'Begin Column' attribute.
      java.lang.String getBeginFile()
      Returns the value of the 'Begin File' attribute.
      int getBeginLine()
      Returns the value of the 'Begin Line' attribute.
      short getEndColumn()
      Returns the value of the 'End Column' attribute.
      java.lang.String getEndFile()
      Returns the value of the 'End File' attribute.
      int getEndLine()
      Returns the value of the 'End Line' attribute.
      ASTNode getParent()
      Returns the value of the 'Parent' reference.
      java.lang.String getTag()
      Returns the value of the 'Tag' attribute.
      void setBeginColumn(short value)
      Sets the value of the 'Begin Column' attribute.
      void setBeginFile(java.lang.String value)
      Sets the value of the 'Begin File' attribute.
      void setBeginLine(int value)
      Sets the value of the 'Begin Line' attribute.
      void setEndColumn(short value)
      Sets the value of the 'End Column' attribute.
      void setEndFile(java.lang.String value)
      Sets the value of the 'End File' attribute.
      void setEndLine(int value)
      Sets the value of the 'End Line' attribute.
      void setParent(ASTNode value)
      Sets the value of the 'Parent' reference.
      void setTag(java.lang.String value)
      Sets the value of the 'Tag' attribute.
      • 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
    • Method Detail

      • getBeginColumn

        short getBeginColumn()
        Returns the value of the 'Begin Column' attribute.

        The value is the column number of the beginning of the text of the part of the COBOL program represented by this node. The first column on a line is column 1.

        Returns:
        the value of the 'Begin Column' attribute.
        See Also:
        setBeginColumn(short), COBOLPackage.getASTNode_BeginColumn()
      • setBeginColumn

        void setBeginColumn(short value)
        Sets the value of the 'Begin Column' attribute.
        Parameters:
        value - the new value of the 'Begin Column' attribute.
        See Also:
        getBeginColumn()
      • getEndColumn

        short getEndColumn()
        Returns the value of the 'End Column' attribute.

        The value is the column number of the end of the text of the part of the COBOL program represented by this node.

        Returns:
        the value of the 'End Column' attribute.
        See Also:
        setEndColumn(short), COBOLPackage.getASTNode_EndColumn()
      • setEndColumn

        void setEndColumn(short value)
        Sets the value of the 'End Column' attribute.
        Parameters:
        value - the new value of the 'End Column' attribute.
        See Also:
        getEndColumn()
      • getBeginFile

        java.lang.String getBeginFile()
        Returns the value of the 'Begin File' attribute.

        The value is the name of the source file where the text begins for the part of the COBOL program represented by this node. The source file can be a copybook.

        Returns:
        the value of the 'Begin File' attribute.
        See Also:
        setBeginFile(String), COBOLPackage.getASTNode_BeginFile()
      • setBeginFile

        void setBeginFile(java.lang.String value)
        Sets the value of the 'Begin File' attribute.
        Parameters:
        value - the new value of the 'Begin File' attribute.
        See Also:
        getBeginFile()
      • getEndFile

        java.lang.String getEndFile()
        Returns the value of the 'End File' attribute.

        The value is the name of the source file where the text ends for the part of the COBOL program represented by this node. The source file can be a copybook.

        Returns:
        the value of the 'End File' attribute.
        See Also:
        setEndFile(String), COBOLPackage.getASTNode_EndFile()
      • setEndFile

        void setEndFile(java.lang.String value)
        Sets the value of the 'End File' attribute.
        Parameters:
        value - the new value of the 'End File' attribute.
        See Also:
        getEndFile()
      • getBeginLine

        int getBeginLine()
        Returns the value of the 'Begin Line' attribute.

        The value is the line number of the beginning of the text of the part of the COBOL program represented by the node. The first line in a source file is line 1.

        Returns:
        the value of the 'Begin Line' attribute.
        See Also:
        setBeginLine(int), COBOLPackage.getASTNode_BeginLine()
      • setBeginLine

        void setBeginLine(int value)
        Sets the value of the 'Begin Line' attribute.
        Parameters:
        value - the new value of the 'Begin Line' attribute.
        See Also:
        getBeginLine()
      • getEndLine

        int getEndLine()
        Returns the value of the 'End Line' attribute.

        The value is the line number of the ending of the text of the part of the COBOL program represented by the node. The first line in a source program is line 1.

        Returns:
        the value of the 'End Line' attribute.
        See Also:
        setEndLine(int), COBOLPackage.getASTNode_EndLine()
      • setEndLine

        void setEndLine(int value)
        Sets the value of the 'End Line' attribute.
        Parameters:
        value - the new value of the 'End Line' attribute.
        See Also:
        getEndLine()
      • getTag

        java.lang.String getTag()
        Returns the value of the 'Tag' attribute.

        The value is any additional information about the node not otherwise represented in the model.

        Returns:
        the value of the 'Tag' attribute.
        See Also:
        setTag(String), COBOLPackage.getASTNode_Tag()
      • setTag

        void setTag(java.lang.String value)
        Sets the value of the 'Tag' attribute.
        Parameters:
        value - the new value of the 'Tag' attribute.
        See Also:
        getTag()
      • getParent

        ASTNode getParent()
        Returns the value of the 'Parent' reference.

        The value is the parent of this node in the syntax tree. For example, the parent of IdentificationDivision is Program

        Returns:
        the value of the 'Parent' reference.
        See Also:
        setParent(ASTNode), COBOLPackage.getASTNode_Parent()
      • setParent

        void setParent(ASTNode value)
        Sets the value of the 'Parent' reference.
        Parameters:
        value - the new value of the 'Parent' reference.
        See Also:
        getParent()