org.crsh.shell.impl.command
Class Tokenizer

java.lang.Object
  extended by org.crsh.shell.impl.command.Tokenizer

 class Tokenizer
extends Object


Field Summary
private  Character c
          .
private  int index
          .
private  CharSequence s
          .
 
Constructor Summary
Tokenizer(CharSequence s)
          Create a new tokenizer.
 
Method Summary
private  void next()
           
 Token nextToken()
           
private  Token parseCommand()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

private final CharSequence s
.


index

private int index
.


c

private Character c
.

Constructor Detail

Tokenizer

public Tokenizer(CharSequence s)
          throws NullPointerException
Create a new tokenizer.

Parameters:
s - the sequence to tokenize
Throws:
NullPointerException - if the sequence is null
Method Detail

next

private void next()

nextToken

public Token nextToken()

parseCommand

private Token parseCommand()
                    throws ScriptException
Throws:
ScriptException


Copyright © 2014 eXo Platform SAS. All Rights Reserved.