Module xl.compiler

Class SingleStaticImport

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

public final class SingleStaticImport extends Scope
  • Constructor Details

    • SingleStaticImport

      public SingleStaticImport(Scope enclosing, Type importedType, String member)
  • 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
    • getImportedMembers

      public String getImportedMembers()
    • getImportedType

      public Type getImportedType()