Package com.google.dart.engine.ast

Examples of com.google.dart.engine.ast.WithClause


                createLocationFromOffset(node.getName().getOffset(), 0));
          }
        }
      }
      {
        WithClause withClause = node.getWithClause();
        if (withClause != null) {
          for (TypeName mixinNode : withClause.getMixinTypes()) {
            recordSuperType(mixinNode, IndexConstants.IS_MIXED_IN_BY);
          }
        }
      }
      {
View Full Code Here


        if (superclassNode != null) {
          recordSuperType(superclassNode, IndexConstants.IS_EXTENDED_BY);
        }
      }
      {
        WithClause withClause = node.getWithClause();
        if (withClause != null) {
          for (TypeName mixinNode : withClause.getMixinTypes()) {
            recordSuperType(mixinNode, IndexConstants.IS_MIXED_IN_BY);
          }
        }
      }
      {
View Full Code Here

    try {
      isInNativeClass = node.getNativeClause() != null;
      enclosingClass = node.getElement();
      ExtendsClause extendsClause = node.getExtendsClause();
      ImplementsClause implementsClause = node.getImplementsClause();
      WithClause withClause = node.getWithClause();
      checkForBuiltInIdentifierAsName(
          node.getName(),
          CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_NAME);
      checkForMemberWithClassName();
      checkForNoDefaultSuperConstructorImplicit(node);
View Full Code Here

  }

  @Override
  public Void visitClassDeclaration(ClassDeclaration node) {
    ExtendsClause extendsClause = node.getExtendsClause();
    WithClause withClause = node.getWithClause();
    ImplementsClause implementsClause = node.getImplementsClause();

    hasReferenceToSuper = false;
    super.visitClassDeclaration(node);
View Full Code Here

TOP

Related Classes of com.google.dart.engine.ast.WithClause

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.