|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.Stella_Object
edu.isi.stella.StandardObject
edu.isi.stella.ContextSensitiveObject
edu.isi.stella.GeneralizedSymbol
edu.isi.stella.Keyword
public class Keyword
| Field Summary |
|---|
| Fields inherited from class edu.isi.stella.GeneralizedSymbol |
|---|
symbolId, symbolName |
| Fields inherited from class edu.isi.stella.ContextSensitiveObject |
|---|
homeContext |
| Constructor Summary | |
|---|---|
Keyword()
|
|
| Method Summary | |
|---|---|
static Stella_Object |
accessKeywordSlotValue(Keyword self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
static void |
bumpMemoizationTimestamp(Keyword timestampname)
|
static void |
clearMemoizationTables(Keyword timestampname)
|
Stella_Object |
clTranslateAtomicTree()
|
static java.lang.String |
computeCommonLispFileExtension(Keyword type)
|
static void |
cppOutputDeclarations(Keyword accesscontrolmode,
Cons declarations)
|
static void |
cppOutputDefinitions(Keyword accesscontrolmode,
Cons definitions)
|
void |
cppOutputLiteral()
|
static void |
cppOutputSignatures(Keyword accesscontrolmode,
Cons signatures)
|
Cons |
cppTranslateAtomicTree()
|
static StringWrapper |
cppTranslateKeywordId(Keyword keyword)
|
static StringWrapper |
cppTranslateKeywordName(Keyword keyword)
|
static java.lang.String |
defaultCommonLispFileExtension(Keyword type)
|
static boolean |
disabledStellaFeatureP(Keyword feature)
Return true if the STELLA feature is currently disabled. |
static boolean |
enabledStellaFeatureP(Keyword feature)
Return true if the STELLA feature is currently enabled. |
static int |
encodeStartupTimePhase(Keyword phase)
|
static java.lang.String |
generateUuid(Keyword uuidType)
Generates a UUID of the specified type. |
static Keyword |
getKwd(int offset)
|
static Keyword |
getKwdFromOffset(int offset)
|
void |
idlOutputLiteral()
|
static StringWrapper |
idlTranslateKeywordId(Keyword keyword)
|
static StringWrapper |
idlTranslateKeywordName(Keyword keyword)
|
static Stella_Object |
ifOutputLanguage(Keyword language,
Stella_Object thenform,
Stella_Object elseform)
Expand to 'thenForm' if the current translator output language equals 'language'. |
static Stella_Object |
ifStellaFeature(Keyword feature,
Stella_Object thenform,
Stella_Object elseform)
Expand to 'thenForm' if 'feature' is a currently enabled STELLA environment feature. |
void |
javaOutputLiteral()
|
static StringWrapper |
javaTranslateKeywordId(Keyword keyword)
|
static StringWrapper |
javaTranslateKeywordName(Keyword keyword)
|
Keyword |
keywordify()
|
static Keyword |
languageToFileType(Keyword language)
|
static Keyword |
lookupKeyword(java.lang.String name)
Return the keyword with name if it exists. |
static Keyword |
newKeyword(java.lang.String symbolName)
|
static Stella_Object |
phaseToInteger(Keyword startuptimephase)
Expands into the integer representing 'startupTimePhase'. |
Surrogate |
primaryType()
Returns the primary type of self. |
static void |
printKeyword(Keyword self,
java.io.PrintStream stream)
|
void |
printObject(java.io.PrintStream stream)
|
static java.lang.String |
selectFileExtension(Keyword type)
|
static java.lang.String |
selectRootDirectory(Keyword type)
|
static java.lang.String |
selectSplitterPath(Keyword type)
|
static Keyword |
setTranslatorOutputLanguage(Keyword newLanguage)
Set output language to newLanguage. |
static void |
transferDataFiles(Keyword outputLanguage)
|
static void |
transferNativeSystemFiles(Keyword outputLanguage)
|
Stella_Object |
walkAtomicTree(java.lang.Object[] MV_returnarray)
|
| Methods inherited from class edu.isi.stella.ContextSensitiveObject |
|---|
homeModule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Keyword()
| Method Detail |
|---|
public static Keyword lookupKeyword(java.lang.String name)
name if it exists.
name -
public static Keyword getKwdFromOffset(int offset)
public static Keyword getKwd(int offset)
public static Keyword newKeyword(java.lang.String symbolName)
public static int encodeStartupTimePhase(Keyword phase)
public void idlOutputLiteral()
idlOutputLiteral in class Stella_Objectpublic static StringWrapper idlTranslateKeywordId(Keyword keyword)
public static StringWrapper idlTranslateKeywordName(Keyword keyword)
public void javaOutputLiteral()
javaOutputLiteral in class Stella_Objectpublic static StringWrapper javaTranslateKeywordId(Keyword keyword)
public static StringWrapper javaTranslateKeywordName(Keyword keyword)
public static void cppOutputDefinitions(Keyword accesscontrolmode,
Cons definitions)
public static void cppOutputSignatures(Keyword accesscontrolmode,
Cons signatures)
public static void cppOutputDeclarations(Keyword accesscontrolmode,
Cons declarations)
public void cppOutputLiteral()
cppOutputLiteral in class Stella_Objectpublic static StringWrapper cppTranslateKeywordId(Keyword keyword)
public static StringWrapper cppTranslateKeywordName(Keyword keyword)
public Cons cppTranslateAtomicTree()
cppTranslateAtomicTree in class Stella_Objectpublic static void transferDataFiles(Keyword outputLanguage)
public static void transferNativeSystemFiles(Keyword outputLanguage)
public static Keyword languageToFileType(Keyword language)
public static java.lang.String selectSplitterPath(Keyword type)
public static java.lang.String selectRootDirectory(Keyword type)
public static java.lang.String selectFileExtension(Keyword type)
public static java.lang.String defaultCommonLispFileExtension(Keyword type)
public static java.lang.String computeCommonLispFileExtension(Keyword type)
public static void bumpMemoizationTimestamp(Keyword timestampname)
public static void clearMemoizationTables(Keyword timestampname)
public static Stella_Object ifStellaFeature(Keyword feature,
Stella_Object thenform,
Stella_Object elseform)
feature - thenform - elseform -
public static Stella_Object ifOutputLanguage(Keyword language,
Stella_Object thenform,
Stella_Object elseform)
language - thenform - elseform -
public static Stella_Object phaseToInteger(Keyword startuptimephase)
startuptimephase -
public Stella_Object clTranslateAtomicTree()
clTranslateAtomicTree in class Stella_Objectpublic Stella_Object walkAtomicTree(java.lang.Object[] MV_returnarray)
walkAtomicTree in class Stella_Objectpublic static Keyword setTranslatorOutputLanguage(Keyword newLanguage)
newLanguage. Return previous language.
newLanguage -
public static boolean disabledStellaFeatureP(Keyword feature)
feature is currently disabled.
feature -
public static boolean enabledStellaFeatureP(Keyword feature)
feature is currently enabled.
feature -
public static void printKeyword(Keyword self,
java.io.PrintStream stream)
public Keyword keywordify()
keywordify in class GeneralizedSymbolpublic static java.lang.String generateUuid(Keyword uuidType)
uuidType -
public void printObject(java.io.PrintStream stream)
printObject in class Stella_Object
public static Stella_Object accessKeywordSlotValue(Keyword self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
public Surrogate primaryType()
Stella_Objectself.
Gets defined automatically for every non-abstract subclass of OBJECT.
primaryType in class Stella_Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||