miSim

misim.editor
Class BasicParser

java.lang.Object
  |
  +--misim.editor.Parser
        |
        +--misim.editor.BasicParser

public class BasicParser
extends Parser


Constructor Summary
BasicParser(EditorPrefs prefs)
           
 
Method Summary
 java.util.Vector parse(Token token)
          Read a Token and attempt to promote it into a sequence of Tokens appropriate for the particular parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicParser

public BasicParser(EditorPrefs prefs)
Method Detail

parse

public java.util.Vector parse(Token token)
Read a Token and attempt to promote it into a sequence of Tokens appropriate for the particular parser. The Parser returns a Vector of Tokens, which may just contain the original token passed in.
Overrides:
parse in class Parser
Parameters:
token - The token to be parsed
Returns:
A Vector of Tokens representing the original text

miSim