com.togethersoft.openapi.sci
Interface SciScope
- All Known Subinterfaces:
- SciClass, SciCodeBlock, SciDelegate, SciFile
- public interface SciScope
- extends SciContainer, SciObject
A generic type of source code container.
Its three derivatives SciFile, SciClass and SciCodeBlock
contain all the source code in the model.
SciScope provides functionality inherited from both
SciObject and SciContainer interfaces, but in comparison with the
SciPackage interface (which also extends these interfaces), this interface
represents a much smaller kind of a container: SciPackage contains
many SciScope derivatives - files and classes.
SciScope defines methods that are common to all its derivatives for working with a source code content.
- Author:
- TogetherSoft
- Since: Together 3.0
- See Also: SciFile, SciClass, SciCodeBlock, SciPackage
| Methods inherited from interface com.togethersoft.openapi.sci.SciObject |
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty |
declaredElements
public SciElementEnumeration declaredElements()
- Returns an enumeration of declared elements in this source code container.
- Returns: an enumeration of declared elements in this source code container
isDeleted
public boolean isDeleted()
- Checks whether this
SciScope represents existing model data.- Since:
- Together 5.0
- See Also:
- SciElement.isDeleted()
visitExpressions
public void visitExpressions(SciExpressionVisitor visitor)
visitExpressions
public void visitExpressions(SciExpressionVisitor visitor, int expressionKind)
visitReferences
public void visitReferences(SciReferenceVisitor visitor)
visitReferences
public void visitReferences(SciReferenceVisitor visitor, SciElement referencedElement)
visitStatements
public void visitStatements(SciStatementVisitor visitor)
visitStatements
public void visitStatements(SciStatementVisitor visitor, int statementKind)