Package org.jruby.ast

Examples of org.jruby.ast.CommentNode


        src.unread(c);
       
        // Store away each comment to parser result so IDEs can do whatever they want with them.
        ISourcePosition position = startPosition.union(getPosition());
       
        parserSupport.getResult().addComment(new CommentNode(position, tokenBuffer.toString()));
       
        return c;
    }
View Full Code Here


                                    break;
                                }
                            }

                            if (doComments) {
                                parserSupport.getResult().addComment(new CommentNode(getPosition(), tokenBuffer.toString()));
                            }
                            continue;
                        }
            src.unread(c);
                    }
View Full Code Here

TOP

Related Classes of org.jruby.ast.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.