Package com.google.dart.engine.ast

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


    // prepare map literal
    if (!(mapExpression instanceof MapLiteral)) {
      reportErrorForNode(AngularCode.INVALID_PROPERTY_MAP, mapExpression);
      return;
    }
    MapLiteral mapLiteral = (MapLiteral) mapExpression;
    // analyze map entries
    for (MapLiteralEntry entry : mapLiteral.getEntries()) {
      // prepare property name
      Expression nameExpression = entry.getKey();
      if (!(nameExpression instanceof SimpleStringLiteral)) {
        reportErrorForNode(AngularCode.INVALID_PROPERTY_NAME, nameExpression);
        continue;
View Full Code Here

TOP

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

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.