Interface IParsedElementWithAtLeastOneDeclaration

All Superinterfaces:
IParsedElement
All Known Subinterfaces:
ICatchClause, IClassDeclaration, IConstructorStatement, IDelegateStatement, IForEachStatement, IFunctionStatement, ILocalVarDeclaration, IParameterDeclaration, IPropertyStatement, ITypeVariableDefinitionExpression, IVarStatement
All Known Implementing Classes:
CatchClause, ClassDeclaration, ConstructorStatement, DelegateStatement, ForEachStatement, FunctionStatement, LocalVarDeclaration, ParameterDeclaration, PropertyStatement, TypeVariableDefinition, VarStatement

public interface IParsedElementWithAtLeastOneDeclaration extends IParsedElement
  • Method Details

    • getNameOffset

      int getNameOffset(String identifierName)
      The offset of the token representing the name for the declaration
      Parameters:
      identifierName -
    • setNameOffset

      void setNameOffset(int iOffset, String identifierName)
    • declares

      boolean declares(String identifierName)
      Parameters:
      identifierName -
      Returns:
      True if this statement declares the given identifier; false otherwise
    • getDeclarations

      String[] getDeclarations()
      Returns:
      all names declared by this element