Module xl.compiler

Class SingleTypeImport

java.lang.Object
de.grogra.xl.compiler.scope.Scope
de.grogra.xl.compiler.scope.SingleTypeImport

public final class SingleTypeImport extends Scope
  • Constructor Details

    • SingleTypeImport

      public SingleTypeImport(Scope enclosing, Type importedType)
  • Method Details

    • findMembers

      public void findMembers(String name, int flags, Members list)
      Description copied from class: Scope
      Finds all members which are declared in this scope or enclosing scopes. This method should be overwritten by subclasses; an invocation of super.findMembers has to be included in order to look for members in enclosing scopes. The flags are a combination of the bit masks defined in Members, they are used to restrict the range of possible members.
      Overrides:
      findMembers in class Scope
      Parameters:
      name - simple name of the members to find
      flags - combination of masks defined in Members
      list - found members are added to this list
    • toString

      public String toString()
      Overrides:
      toString in class Object