org.jruby.ast.visitor.rewriter.utils
Class ReWriterContext
java.lang.Object
org.jruby.ast.visitor.rewriter.utils.ReWriterContext
- public class ReWriterContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReWriterContext
public ReWriterContext(java.io.PrintWriter output,
java.lang.String source,
FormatHelper formatHelper)
ReWriterContext
public ReWriterContext(java.io.StringWriter output,
java.lang.String source,
FormatHelper formatHelper)
getLocalVariables
public LocalVariables getLocalVariables()
getCallDepth
public CallDepth getCallDepth()
getSource
public java.lang.String getSource()
getIndentor
public Indentor getIndentor()
getLastPosition
public ISourcePosition getLastPosition()
setLastPosition
public void setLastPosition(ISourcePosition lastPosition)
getPrintQuotesInString
public BooleanStateStack getPrintQuotesInString()
hasHereDocument
public boolean hasHereDocument()
fetchHereDocument
public HereDocument fetchHereDocument()
depositHereDocument
public void depositHereDocument(java.lang.String hereDocument)
isSkipNextNewline
public boolean isSkipNextNewline()
setSkipNextNewline
public void setSkipNextNewline(boolean skipNextNewline)
getOutput
public java.io.PrintWriter getOutput()
setOutput
public void setOutput(java.io.PrintWriter output)
getFormatHelper
public FormatHelper getFormatHelper()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.