Old Name | New Name |
---|---|
BIGNUM_SIGN | BignumSign |
BIGNUM_EXP | BignumExp |
BIGNUM_EXP_SIGN | BignumExpSign |
BIGNUM_LEADING_ZERO | BignumLeadingZero |
BIGNUM_POINT | BignumPoint |
BIGNUM_COMMAS | BignumCommas |
BIGNUM_POS_SPACE | BignumPosSpace |
BIGNUM_EUROSTYLE | BignumEuroStyle |
TYPE_NIL | TypeNil |
TYPE_TRUE | TypeTrue |
TYPE_OBJECT | TypeObject |
TYPE_PROP | TypeProp |
TYPE_INT | TypeInt |
TYPE_SSTRING | TypeSString |
TYPE_DSTRING | TypeDString |
TYPE_LIST | TypeList |
TYPE_CODE | TypeCode |
TYPE_FUNCPTR | TypeFuncPtr |
TYPE_NATIVE_CODE | TypeNativeCode |
TYPE_ENUM | TypeEnum |
PROPDEF_ANY | PropDefAny |
PROPDEF_DIRECTLY | PropDefDirectly |
PROPDEF_INHERITS | PropDefInherits |
PROPDEF_GET_CLASS | PropDefGetClass |
STR_HTML_KEEP_SPACES | HtmlifyKeepSpaces |
STR_HTML_KEEP_NEWLINES | HtmlifyKeepNewlines |
STR_HTML_KEEP_TABS | HtmlifyKeepTabs |
STR_HTML_KEEP_WHITESPACE | HtmlifyKeepWhitespace |
T3DBG_CHECK | T3DebugCheck |
T3DBG_BREAK | T3DebugBreak |
OBJ_INSTANCES | ObjInstances |
OBJ_CLASSES | ObjClasses |
OBJ_ALL | ObjAll |
REPLACE_ONCE | ReplaceOnce |
REPLACE_ALL | ReplaceAll |
GETTIME_DATE_AND_TIME | GetTimeDateAndTime |
GETTIME_TICKS | GetTimeTicks |
INEVT_KEY | InEvtKey |
INEVT_TIMEOUT | InEvtTimeout |
INEVT_HREF | InEvtHref |
INEVT_NOTIMEOUT | InEvtNotimeout |
INEVT_EOF | InEvtEof |
INEVT_LINE | InEvtLine |
INEVT_END_QUIET_SCRIPT | InEvtEndQuietScript |
INDLG_OK | InDlgOk |
INDLG_OKCANCEL | InDlgOkcancel |
INDLG_YESNO | InDlgYesNo |
INDLG_YESNOCANCEL | InDlgYesNoCancel |
INDLG_ICON_NONE | InDlgIconNone |
INDLG_ICON_WARNING | InDlgIconWarning |
INDLG_ICON_INFO | InDlgIconInfo |
INDLG_ICON_QUESTION | InDlgIconQuestion |
INDLG_ICON_ERROR | InDlgIconError |
INDLG_LBL_OK | InDlgLblOk |
INDLG_LBL_CANCEL | InDlgLblCancel |
INDLG_LBL_YES | InDlgLblYes |
INDLG_LBL_NO | InDlgLblNo |
INFILE_OPEN | InFileOpen |
INFILE_SAVE | InFileSave |
INFILE_SUCCESS | InFileSuccess |
INFILE_FAILURE | InFileFailure |
INFILE_CANCEL | InFileCancel |
FILETYPE_LOG | FileTypeLog |
FILETYPE_DATA | FileTypeData |
FILETYPE_CMD | FileTypeCmd |
FILETYPE_TEXT | FileTypeText |
FILETYPE_BIN | FileTypeBin |
FILETYPE_UNKNOWN | FileTypeUnknown |
FILETYPE_T3IMAGE | FileTypeT3Image |
FILETYPE_T3SAVE | FileTypeT3Save |
SYSINFO_VERSION | SysInfoVersion |
SYSINFO_OS_NAME | SysInfoOsName |
SYSINFO_HTML | SysInfoHtml |
SYSINFO_JPEG | SysInfoJpeg |
SYSINFO_PNG | SysInfoPng |
SYSINFO_WAV | SysInfoWav |
SYSINFO_MIDI | SysInfoMidi |
SYSINFO_WAV_MIDI_OVL | SysInfoWavMidiOvl |
SYSINFO_WAV_OVL | SysInfoWavOvl |
SYSINFO_PREF_IMAGES | SysInfoPrefImages |
SYSINFO_PREF_SOUNDS | SysInfoPrefSounds |
SYSINFO_PREF_MUSIC | SysInfoPrefMusic |
SYSINFO_PREF_LINKS | SysInfoPrefLinks |
SYSINFO_MPEG | SysInfoMpeg |
SYSINFO_MPEG1 | SysInfoMpeg1 |
SYSINFO_MPEG2 | SysInfoMpeg2 |
SYSINFO_MPEG3 | SysInfoMpeg3 |
SYSINFO_HTML_MODE | SysInfoHtmlMode |
SYSINFO_LINKS_HTTP | SysInfoLinksHttp |
SYSINFO_LINKS_FTP | SysInfoLinksFtp |
SYSINFO_LINKS_NEWS | SysInfoLinksNews |
SYSINFO_LINKS_MAILTO | SysInfoLinksMailto |
SYSINFO_LINKS_TELNET | SysInfoLinksTelnet |
SYSINFO_PNG_TRANS | SysInfoPngTrans |
SYSINFO_PNG_ALPHA | SysInfoPngAlpha |
STATMODE_NORMAL | StatModeNormal |
STATMODE_STATUS | StatModeStatus |
SCRFILE_QUIET | ScriptFileQuiet |
SCRFILE_NONSTOP | ScriptFileNonstop |
CHARSET_DISPLAY | CharsetDisplay |
CHARSET_FILE | CharsetFile |
firstPerson | FirstPerson |
secondPerson | SecondPerson |
thirdPerson | ThirdPerson |
spellIntTeenHundreds | SpellIntTeenHundreds |
spellIntAndTens | SpellIntAndTens |
spellIntCommas | SpellIntCommas |
Logical | logical |
LogicalRank | logicalRank |
LogicalRankOrd | logicalRankOrd |
Dangerous | dangerous |
NonObvious | nonObvious |
IllogicalNow | illogicalNow |
Illogical | illogical |
Inaccessible | inaccessible |
DefaultReport | defaultReport |
MainReport | mainReport |
ReportBefore | reportBefore |
ReportAfter | reportAfter |
ReportFailure | reportFailure |
IsNonDefaultReport | gIsNonDefaultReport |
SingleDobj | singleDobj |
SingleIobj | singleIobj |
DobjList | dobjList |
IobjList | iobjList |
NumberPhrase | singleNumber |
TopicPhrase | singleTopic |
LiteralPhrase | singleLiteral |
DirPhrase | singleDir |
self.(processorProp)(txt, typ, toks)
txt is the text that matched the rule (this is the same as the lone argument to the old interface). typ is the token type from the rule (i.e., element [2] of the sublist defining the rule). toks is a Vector containing the token list under construction. The method must append the appropriate set of tokens to the Vector in toks. The method is not required to append any tokens; the rule in the default tokenizer rule set that matches whitespace, for example, doesn't generate any tokens, since whitespace characters have no significance other than separating tokens in the default rule set. The rule is also allowed to generate more than one token; this is useful for rules that generate certain tokens types only if they immediately follow particular text patterns. Note that the processor method is not required to use the typ value given, since each new token the method adds to the result Vector can be of whatever type is appropriate; the type information is included so that a single processor method can be re-used for similar types of processing that produce different token types.
grammar nounPhrase(1): adjective->adj_ : object ;
The tag's only purpose is to provide an identifying name for the new "grammarInfo" method, described below.
myObject: object obj = nil setObj(obj) { self.obj = obj; } ;
In the past, the code above would have had to use a different name for the formal parameter variable obj, because it would not have been able to refer to the property of the same name. With the new interpretation, the code can distinguish between the local and the property by referring to the property explicitly using self.obj.
Note that it is still simple to obtain the old behavior of evaluating the local variable and calling a method via the resulting property pointer. To do this, simply enclose the local in parentheses: x.(y).