fr.umlv.tatoo.runtime.lexer
Class Action<R extends Rule>

java.lang.Object
  extended by fr.umlv.tatoo.runtime.lexer.Action<R>
Type Parameters:
R - type of rules.

public class Action<R extends Rule>
extends Object

Author:
jcervell

Constructor Summary
Action(R rule)
           
 
Method Summary
 R getRule()
           
 int lastMatch()
           
 void reset(R rule)
           
 boolean step(char a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action(R rule)
Method Detail

reset

public void reset(R rule)

step

public boolean step(char a)

lastMatch

public int lastMatch()

getRule

public R getRule()