Package org.jruby.lexer.yacc

Examples of org.jruby.lexer.yacc.InputStreamLexerSource


      setUp();
   
    // Set up input
    final List<String> lexerCapture = null; // do not want to record the read text lines
    FileInputStream input = new FileInputStream(file);
    LexerSource source = new InputStreamLexerSource(file.getPath(),
        input, lexerCapture, startLine, extraPositionInfo);

    // Get a parser
    RubyParser parser = RubyParserPool.getInstance().borrowParser(rubyVersion);
View Full Code Here

TOP

Related Classes of org.jruby.lexer.yacc.InputStreamLexerSource

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.