Package fr.insalyon.citi.golo.compiler.parser

Examples of fr.insalyon.citi.golo.compiler.parser.GoloASTNode


  public boolean hasASTNode() {
    return (nodeRef != null) && (nodeRef.get() != null);
  }

  public PositionInSourceCode getPositionInSourceCode() {
    GoloASTNode node = getASTNode();
    if (node == null) {
      return new PositionInSourceCode(0, 0);
    }
    return new PositionInSourceCode(node.jjtGetFirstToken().beginLine, node.jjtGetFirstToken().beginColumn);
  }
View Full Code Here

TOP

Related Classes of fr.insalyon.citi.golo.compiler.parser.GoloASTNode

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.