|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.backend.tools.Tmd2Java
入れ子クラスの概要 | |
(パッケージプライベート) static class |
Tmd2Java.JavaMacro
|
(パッケージプライベート) static class |
Tmd2Java.Nonterm
Nonterminal Symbol |
(パッケージプライベート) static class |
Tmd2Java.OpPattern
Production's right hand side pattern. |
(パッケージプライベート) static class |
Tmd2Java.Pattern
Grammar's right side hand pattern. |
(パッケージプライベート) static class |
Tmd2Java.Prod
Production lhs <- rhs |
(パッケージプライベート) static class |
Tmd2Java.RuleSet
Set of rules (defrule or defrewrite/defpattern) |
フィールドの概要 | |
(パッケージプライベート) static int |
ANYTYPE
|
(パッケージプライベート) static java.lang.String |
CODEGENERATOR
|
(パッケージプライベート) static java.lang.String |
DEFBUILD
|
(パッケージプライベート) static java.lang.String |
DEFEMIT
|
(パッケージプライベート) static boolean |
defFileOnly
|
(パッケージプライベート) static java.util.Map |
definitions
|
(パッケージプライベート) static int |
emCounter
|
(パッケージプライベート) static java.lang.String |
IMPORT
|
(パッケージプライベート) static Tmd2Java.RuleSet |
instSel
RuleSet for instruction selection. |
(パッケージプライベート) static BiList |
javaMacros
|
(パッケージプライベート) static java.util.Map |
macros
|
(パッケージプライベート) static java.io.PrintWriter |
out
|
(パッケージプライベート) static boolean |
printExpanded
|
(パッケージプライベート) static java.io.BufferedReader |
proto
|
(パッケージプライベート) static java.lang.String |
PROTOFILE
|
(パッケージプライベート) static RegisterDescription2Java |
regDesc
|
(パッケージプライベート) static Tmd2Java.RuleSet |
rewriting
RuleSet for rewriting. |
(パッケージプライベート) static java.lang.String |
STATE
|
(パッケージプライベート) static java.lang.String |
targetName
|
(パッケージプライベート) static BiList |
typeRegsetList
|
(パッケージプライベート) static java.lang.String |
usage
|
メソッドの概要 | |
(パッケージプライベート) static ImList |
desugar(ImList list)
Expand syntax sugar (foreach). |
(パッケージプライベート) static void |
doDef(ImList form)
|
(パッケージプライベート) static void |
doDefPattern(ImList form)
Parse defpattern. |
(パッケージプライベート) static void |
doDefRegset(ImList form)
|
(パッケージプライベート) static void |
doDefRegsetPair(ImList pair)
|
(パッケージプライベート) static void |
doDefRegsetVar(ImList form)
|
(パッケージプライベート) static void |
doDefRegsetVarPair(ImList pair)
|
(パッケージプライベート) static void |
doDefRewrite(ImList form)
Parse defrewrite. |
(パッケージプライベート) static void |
doDefRule(ImList form)
Parse defrule. |
(パッケージプライベート) static void |
doDefStart(ImList form)
|
(パッケージプライベート) static boolean |
evalCond(java.lang.Object x)
Evaluate condition part of @if |
(パッケージプライベート) static ImList |
expandDefined(ImList form)
|
(パッケージプライベート) static java.lang.String |
expandDefMacro(java.lang.String kind,
java.io.PushbackReader rdr)
expand %defemit(name args...) or %defbuild(name args...) |
(パッケージプライベート) static ImList |
expandEq(ImList form)
|
(パッケージプライベート) static ImList |
expandForeach(ImList sexp)
Expand foreach macro. |
(パッケージプライベート) static ImList |
expandIf(ImList form)
Expand if |
(パッケージプライベート) static ImList |
expandInclude(ImList form,
ImList tail)
Expand include file |
(パッケージプライベート) static ImList |
expandMacro(ImList form)
Expand macro |
(パッケージプライベート) static ImList |
expandNe(ImList form)
|
(パッケージプライベート) static ImList |
expandNot(ImList form)
|
(パッケージプライベート) static boolean |
isMacro(java.lang.Object name)
|
(パッケージプライベート) static boolean |
isNumber(java.lang.String s)
Return true if s is a number string. |
(パッケージプライベート) static boolean |
isVarOp(int op)
|
(パッケージプライベート) static java.lang.String |
listString(java.lang.Object obj)
|
(パッケージプライベート) static void |
listString1(java.lang.StringBuffer buf,
java.lang.Object obj)
|
static void |
main(java.lang.String[] argv)
|
(パッケージプライベート) static int |
parseDollar(java.lang.String x)
parse $1, $2, ... |
(パッケージプライベート) static void |
parseTmd(java.io.PushbackReader rdr)
Convert TMD to Java. |
(パッケージプライベート) static void |
printBeautifully(ImList list)
Print expanded input. |
(パッケージプライベート) static java.lang.String |
quote(java.lang.String x)
|
(パッケージプライベート) static java.lang.String |
readLine(java.io.PushbackReader rdr)
Read line from pushback reader. |
(パッケージプライベート) static ImList |
readSexpList(java.io.PushbackReader rdr,
ImList tail)
Read entire file as a list. |
(パッケージプライベート) static java.lang.String |
readToken(java.io.PushbackReader rdr)
Read token from pushback reader. |
(パッケージプライベート) static java.lang.String |
readWhites(java.io.PushbackReader rdr)
Read whitespaces from pushback reader. |
(パッケージプライベート) static void |
registerMacroDef(ImList form)
Register macro definition |
(パッケージプライベート) static java.lang.String |
replaceDollars(java.lang.String str)
|
(パッケージプライベート) static ImList |
replaceList(ImList body,
java.lang.Object fv,
java.lang.Object val,
ImList tail)
|
(パッケージプライベート) static ImList |
replaceListAux(ImList body,
ImList fpl,
ImList apl,
ImList tail)
|
(パッケージプライベート) static ImList |
replaceLoop(ImList body,
java.lang.Object cv,
ImList vals)
|
(パッケージプライベート) static java.lang.Object |
replaceSubstr(java.lang.Object x,
java.lang.String fv,
java.lang.Object val)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
static final java.lang.String PROTOFILE
static final int ANYTYPE
static java.lang.String targetName
static java.io.PrintWriter out
static java.io.BufferedReader proto
static boolean defFileOnly
static boolean printExpanded
static RegisterDescription2Java regDesc
static java.util.Map definitions
static java.util.Map macros
static Tmd2Java.RuleSet rewriting
static Tmd2Java.RuleSet instSel
static BiList javaMacros
static int emCounter
static BiList typeRegsetList
static final java.lang.String STATE
static final java.lang.String CODEGENERATOR
static final java.lang.String DEFEMIT
static final java.lang.String DEFBUILD
static final java.lang.String IMPORT
static java.lang.String usage
メソッドの詳細 |
static void printBeautifully(ImList list)
static boolean isNumber(java.lang.String s)
static void doDefRule(ImList form) throws SyntaxError
SyntaxError
static void doDefRewrite(ImList form) throws SyntaxError
SyntaxError
static void doDefPattern(ImList form) throws SyntaxError
SyntaxError
static java.lang.String expandDefMacro(java.lang.String kind, java.io.PushbackReader rdr) throws SyntaxError, java.io.IOException
SyntaxError
java.io.IOException
static ImList readSexpList(java.io.PushbackReader rdr, ImList tail) throws java.io.IOException, SyntaxError
java.io.IOException
SyntaxError
static java.lang.Object replaceSubstr(java.lang.Object x, java.lang.String fv, java.lang.Object val) throws SyntaxError
SyntaxError
static ImList replaceList(ImList body, java.lang.Object fv, java.lang.Object val, ImList tail) throws SyntaxError
SyntaxError
static ImList replaceListAux(ImList body, ImList fpl, ImList apl, ImList tail) throws SyntaxError
SyntaxError
static ImList replaceLoop(ImList body, java.lang.Object cv, ImList vals) throws SyntaxError
SyntaxError
static ImList expandForeach(ImList sexp) throws SyntaxError
SyntaxError
static ImList expandMacro(ImList form) throws SyntaxError
SyntaxError
static ImList expandIf(ImList form) throws SyntaxError
SyntaxError
static boolean evalCond(java.lang.Object x) throws SyntaxError
SyntaxError
static ImList expandEq(ImList form) throws SyntaxError
SyntaxError
static ImList expandNe(ImList form) throws SyntaxError
SyntaxError
static ImList expandDefined(ImList form) throws SyntaxError
SyntaxError
static ImList expandNot(ImList form) throws SyntaxError
SyntaxError
static boolean isMacro(java.lang.Object name)
static void registerMacroDef(ImList form) throws SyntaxError
SyntaxError
static ImList expandInclude(ImList form, ImList tail) throws SyntaxError
SyntaxError
static ImList desugar(ImList list) throws SyntaxError
SyntaxError
static void doDef(ImList form) throws SyntaxError
SyntaxError
static void doDefStart(ImList form) throws SyntaxError
SyntaxError
static void doDefRegset(ImList form) throws SyntaxError
SyntaxError
static void doDefRegsetPair(ImList pair) throws SyntaxError
SyntaxError
static void doDefRegsetVar(ImList form) throws SyntaxError
SyntaxError
static void doDefRegsetVarPair(ImList pair) throws SyntaxError
SyntaxError
static boolean isVarOp(int op)
static java.lang.String readLine(java.io.PushbackReader rdr) throws java.io.IOException
java.io.IOException
static java.lang.String readWhites(java.io.PushbackReader rdr) throws java.io.IOException
java.io.IOException
static java.lang.String readToken(java.io.PushbackReader rdr) throws java.io.IOException
java.io.IOException
static void parseTmd(java.io.PushbackReader rdr) throws SyntaxError, java.io.IOException
SyntaxError
java.io.IOException
static java.lang.String quote(java.lang.String x)
static int parseDollar(java.lang.String x) throws SyntaxError
SyntaxError
static void listString1(java.lang.StringBuffer buf, java.lang.Object obj)
static java.lang.String listString(java.lang.Object obj)
static java.lang.String replaceDollars(java.lang.String str)
public static void main(java.lang.String[] argv)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |