Package japa.parser.ast.comments

Examples of japa.parser.ast.comments.BlockComment


    return new LineComment(_n.getBeginLine(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), _n.getContent());
  }

  @Override
  public Node visit(BlockComment _n, Object _arg) {
    return new BlockComment(_n.getBeginLine(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), _n.getContent());
  }
View Full Code Here


    return Boolean.TRUE;
  }

  @Override public Boolean visit(final BlockComment n1, final Node arg) {
    final BlockComment n2 = (BlockComment) arg;

    if (!objEquals(n1.getContent(), n2.getContent())) {
      return Boolean.FALSE;
    }

        if (!objEquals(n1.getBeginLine(), n2.getBeginLine())) {
            return Boolean.FALSE;
        }

    return Boolean.TRUE;
  }
View Full Code Here

TOP

Related Classes of japa.parser.ast.comments.BlockComment

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.