Package com.jetbrains.lang.dart.psi

Examples of com.jetbrains.lang.dart.psi.DartArgumentList


    template.addEndVariable();
    template.addTextSegment("\n}\n");
  }

  private void buildParameters(Template template, DartCallExpression callExpression) {
    DartArgumentList argumentList = callExpression.getArguments().getArgumentList();
    if (argumentList != null) {
      DartPresentableUtil.appendArgumentList(template, argumentList);
    }
  }
View Full Code Here


  }

  @Nullable
  private static String findTestName(@Nullable DartCallExpression expression) {
    String testName;
    final DartArgumentList dartArgumentList = expression == null ? null : expression.getArguments().getArgumentList();
    if (dartArgumentList == null || dartArgumentList.getExpressionList().isEmpty()) {
      return null;
    }
    final DartExpression dartExpression = dartArgumentList.getExpressionList().get(0);
    testName = dartExpression == null ? "" : StringUtil.unquoteString(dartExpression.getText());
    return testName;
  }
View Full Code Here

TOP

Related Classes of com.jetbrains.lang.dart.psi.DartArgumentList

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.