Package com.google.caja.parser.js

Examples of com.google.caja.parser.js.Directive


  @Override
  protected boolean createSubstitutes(
      List<ParseTreeNode> substitutes, Map<String, ParseTreeNode> bindings) {
    List<Directive> subsets = new ArrayList<Directive>();
    for (String subsetName : directives) {
      subsets.add(new Directive(FilePosition.UNKNOWN, subsetName));
    }
    substitutes.add(new DirectivePrologue(FilePosition.UNKNOWN, subsets));
    return true;
  }
View Full Code Here

TOP

Related Classes of com.google.caja.parser.js.Directive

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.