org.crsh.cli.impl.line
Class MultiLineVisitor

java.lang.Object
  extended by org.crsh.cli.impl.line.LineParser.Visitor
      extended by org.crsh.cli.impl.line.MultiLineVisitor

public class MultiLineVisitor
extends LineParser.Visitor

    

Author:
Julien Viet

Field Summary
private  StringBuilder raw
          .
 
Constructor Summary
MultiLineVisitor()
           
 
Method Summary
 void closeStrongQuote(int index)
           
 void closeWeakQuote(int index)
           
 String getRaw()
           
 void onChar(int index, Quoting quoting, boolean backslash, char c)
           
 void openStrongQuote(int index)
           
 void openWeakQuote(int index)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

raw

private final StringBuilder raw
.

Constructor Detail

MultiLineVisitor

public MultiLineVisitor()
Method Detail

getRaw

public String getRaw()

openStrongQuote

public void openStrongQuote(int index)
Overrides:
openStrongQuote in class LineParser.Visitor

closeStrongQuote

public void closeStrongQuote(int index)
Overrides:
closeStrongQuote in class LineParser.Visitor

openWeakQuote

public void openWeakQuote(int index)
Overrides:
openWeakQuote in class LineParser.Visitor

closeWeakQuote

public void closeWeakQuote(int index)
Overrides:
closeWeakQuote in class LineParser.Visitor

onChar

public void onChar(int index,
                   Quoting quoting,
                   boolean backslash,
                   char c)
Overrides:
onChar in class LineParser.Visitor

reset

public void reset()
Overrides:
reset in class LineParser.Visitor


Copyright © 2015 eXo Platform SAS. All Rights Reserved.