org.jruby.parser
Class Parser

java.lang.Object
  extended by org.jruby.parser.Parser

public class Parser
extends java.lang.Object

Serves as a simple facade for all the parsing magic.


Constructor Summary
Parser(Ruby runtime)
           
 
Method Summary
 Node parse(java.lang.String file, java.io.Reader content, DynamicScope blockScope, int lineNumber)
           
 Node parse(java.lang.String file, java.io.Reader content, DynamicScope blockScope, int lineNumber, boolean extraPositionInformation)
           
 Node parse(java.lang.String file, java.lang.String content, DynamicScope blockScope, int lineNumber)
           
 Node parse(java.lang.String file, java.lang.String content, DynamicScope blockScope, int lineNumber, boolean extraPositionInformation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(Ruby runtime)
Method Detail

parse

public Node parse(java.lang.String file,
                  java.lang.String content,
                  DynamicScope blockScope,
                  int lineNumber,
                  boolean extraPositionInformation)

parse

public Node parse(java.lang.String file,
                  java.lang.String content,
                  DynamicScope blockScope,
                  int lineNumber)

parse

public Node parse(java.lang.String file,
                  java.io.Reader content,
                  DynamicScope blockScope,
                  int lineNumber)

parse

public Node parse(java.lang.String file,
                  java.io.Reader content,
                  DynamicScope blockScope,
                  int lineNumber,
                  boolean extraPositionInformation)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.