|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodesimian.StringLang
public class StringLang
Field Summary | |
---|---|
static char |
calcExecPrefix
operatorName$myFuel#nameOfCS( ...params... |
static java.lang.String |
lexerFileName
11/9/04: The CodeSimian language syntax might LATER be defined by a java file created by an external lexer, probably JFlex. |
static char |
namePrefix
operatorName$myFuel#nameOfCS( ...params... |
Constructor Summary | |
---|---|
StringLang()
|
Method Summary | |
---|---|
CS |
compile(CS[] csTokens)
input CSs in order as if they were tokens that a lexer returned to a parser |
CS |
compile(java.lang.String code)
THEORETICAL SYNTAX. |
void |
DForProxy(java.lang.String code)
|
CS |
stringToOneCS(java.lang.String oneCS)
Returns a new CS (with no parameters, add them!) described by the String. Examples: "3.45" "sine" "*" "+". Not allowed: "+(3.45 sine(7))" "3.45 + sine(7)" because its multiple CSs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String lexerFileName
public static char calcExecPrefix
public static char namePrefix
Constructor Detail |
---|
public StringLang()
Method Detail |
---|
public void DForProxy(java.lang.String code)
public CS stringToOneCS(java.lang.String oneCS)
public CS compile(java.lang.String code) throws java.text.ParseException
java.text.ParseException
public CS compile(CS[] csTokens)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |