Package org.dtk.analysis.script.exceptions

Examples of org.dtk.analysis.script.exceptions.InvalidLiteralNode


   * @param literalNode - AST node containing JS literal declaration
   * @throws InvalidLiteralNode - Node is not correct literal type
   */
  public BaseLiteralNode(Node literalNode) throws InvalidLiteralNode {
    if (literalNode != null && getLiteralType() != literalNode.getType()) {
      throw new InvalidLiteralNode();
    }
    this.literalNode = literalNode;
  }
View Full Code Here

TOP

Related Classes of org.dtk.analysis.script.exceptions.InvalidLiteralNode

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.