cleoni.adv
Class SmallBasicLoader

java.lang.Object
  extended by cleoni.adv.DimxParser
      extended by cleoni.adv.SmallBasicLoader

public class SmallBasicLoader
extends DimxParser

This parser is capable of reading and parsing SmallBasic code, adding it to the current world.


Field Summary
 
Fields inherited from class cleoni.adv.DimxParser
agent, buf, CONSUME, CR, currLine, EOF, logger, owner, PRESERVE, setCr, setCrTabSpace, setFunctArgs, setFunctClosers, setFunctions, setOperators, setPunctuation, setQuotes, setTabSpace, stackLevel, startToken, target, tokenTerminators, varspace, verbose, world
 
Constructor Summary
SmallBasicLoader(World aWorld, java.lang.String aBuf, java.lang.String aFileName, int startingLine, java.lang.String anEncoding)
           
 
Method Summary
 World load(java.lang.String aSystemDir, boolean tolerateDups)
           
 
Methods inherited from class cleoni.adv.DimxParser
eat_extended, eat, evalExpression, evalExpression, feed, getLine, identifyFunProc, identifyLine, lookupElement, lookupToken, lookupTokenCRsens, nextElement, nextToken, parseCR, parseCREOF, parseList, parseToken, readToCR, reset, resolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SmallBasicLoader

public SmallBasicLoader(World aWorld,
                        java.lang.String aBuf,
                        java.lang.String aFileName,
                        int startingLine,
                        java.lang.String anEncoding)
Method Detail

load

public World load(java.lang.String aSystemDir,
                  boolean tolerateDups)
           throws DimxException,
                  java.lang.Exception
Throws:
DimxException
java.lang.Exception