com.togethersoft.openapi.sci
Interface SciTypeExpression


public interface SciTypeExpression
extends SciReferenceExpression, SciType

An expression which is a reference to a type.

For example:


  Button myButton = new Button("Agent007");
This is SciDeclarationStatement. SciDeclarationStatement.elements method will return an enumeration consisting of only one element - SciVariable representing myButton. SciVariable.getInitialValue method will return SciExpression. It is SciNewExpression. SciNewExpression.operands method will return two expressions: SciTypeExpression (Button) and SciConstantExpression ("Agent007").

Author:
TogetherSoft
See Also: SciExpression, SciReference, SciDeclarationStatement, SciVariable, SciNewExpression, SciConstantExpression

Methods inherited from interface com.togethersoft.openapi.sci.SciExpression
accept, getKind, getParent, getType, operands, visitReferences, visitReferences

Methods inherited from interface com.togethersoft.openapi.sci.SciObject
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty

Methods inherited from interface com.togethersoft.openapi.sci.SciReference
canSetReferencedElement, canSetReferenceText, getReferencedElement, getReferenceText, setReferencedElement, setReferenceText

Methods inherited from interface com.togethersoft.openapi.sci.SciType
canSetText, getCanonicalText, setText