Package cambridge.model

Examples of cambridge.model.CommentNode


   private void getNode() throws IOException, TemplateParsingException {
      TemplateNode node;
      switch (currentToken.getType()) {
         case COMMENT:
            node = new CommentNode();
            CommentNode comment = (CommentNode) node;
            comment.setContents(currentToken.getValue());
            node.setBeginLine(currentToken.getLineNo());
            node.setBeginColumn(currentToken.getColumn());
            node.setEndLine(peek(1).getLineNo());
            node.setEndColumn(peek(1).getColumn());
            matchedNodes.add(node);
View Full Code Here


    private void getNode() throws IOException, TemplateParsingException {
        TemplateNode node;
        switch (currentToken.getType()) {
            case COMMENT:
                node = new CommentNode();
                CommentNode comment = (CommentNode) node;
                comment.setContents(currentToken.getValue());
                node.setBeginLine(currentToken.getLineNo());
                node.setBeginColumn(currentToken.getColumn());
                node.setEndLine(peek(1).getLineNo());
                node.setEndColumn(peek(1).getColumn());
                matchedNodes.add(node);
View Full Code Here

TOP

Related Classes of cambridge.model.CommentNode

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.