org.crsh.cli.impl.tokenizer
Class TokenizerImpl

java.lang.Object
  extended by org.crsh.cli.impl.tokenizer.Tokenizer
      extended by org.crsh.cli.impl.tokenizer.TokenizerImpl
All Implemented Interfaces:
Iterator<Token>

public class TokenizerImpl
extends Tokenizer


Field Summary
private  Automaton automaton
          .
private  Delimiter endingDelimiter
          .
 
Constructor Summary
TokenizerImpl(CharSequence s)
           
 
Method Summary
 Delimiter getEndingDelimiter()
           
protected  Token parse()
           
 
Methods inherited from class org.crsh.cli.impl.tokenizer.Tokenizer
getIndex, hasNext, next, peek, pushBack, pushBack, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

automaton

private final Automaton automaton
.


endingDelimiter

private Delimiter endingDelimiter
.

Constructor Detail

TokenizerImpl

public TokenizerImpl(CharSequence s)
Method Detail

parse

protected Token parse()
Specified by:
parse in class Tokenizer

getEndingDelimiter

public Delimiter getEndingDelimiter()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.