Package com.google.dart.engine.internal.scope

Examples of com.google.dart.engine.internal.scope.TypeParameterScope


            "Missing element for class declaration " + node.getName().getName() + " in "
                + getDefiningLibrary().getSource().getFullName(),
            new Exception());
        super.visitClassDeclaration(node);
      } else {
        nameScope = new TypeParameterScope(nameScope, classElement);
        visitClassDeclarationInScope(node);
        nameScope = new ClassScope(nameScope, classElement);
        visitClassMembersInScope(node);
      }
    } finally {
View Full Code Here


  @Override
  public Void visitClassTypeAlias(ClassTypeAlias node) {
    Scope outerScope = nameScope;
    try {
      ClassElement element = node.getElement();
      nameScope = new ClassScope(new TypeParameterScope(nameScope, element), element);
      super.visitClassTypeAlias(node);
    } finally {
      nameScope = outerScope;
    }
    return null;
View Full Code Here

TOP

Related Classes of com.google.dart.engine.internal.scope.TypeParameterScope

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.