::CLASS token public

flyweight token
Definition at line 43 of tokenizer.cls

Public Methods

  init (symbol, type, index)
no comment

Public Attributes

  index
position in list
  symbol
the text of the token
  type
token type
  user
for user classification

Instantiated by

tokenizer.cls line 210
tokenizer.cls line 214
tokenizer.cls line 228

Feature Detail

::ATTRIBUTE symbol
the text of the token
Definition at line 44 of tokenizer.cls
Dynamically referenced by
documents.cls line 617 "when tkl[j+2]~type = 'twiddle' & tkl[j+3]~symbol~translate = 'NEW'"
documents.cls line 634 "if tk~type = 'symbol' & tk~symbol~translate = 'CALL'"
documents.cls line 656 "recvr = tkl[j-1]~symbol~translate"
documents.cls line 657 "meth = tkl[j+1]~symbol~translate"
documents.cls line 666 "procname = rtk~symbol~translate"
documents.cls line 817 "classname = token~symbol~translate"
documents.cls line 839 "classname = classtoken~symbol~translate"
documents.cls line 847 "methname = methtoken~symbol~translate"
htmlrexxsource.cls line 326 "col~fcaddpost(c~flatclause, rf~token~index + rf~token~symbol~length-1, '</a>')"
htmlrexxsource.cls line 335 "if t~symbol~translate = 'NEW' & prevtok~type = 'twiddle'"
htmlrexxsource.cls line 336 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synclass')"
htmlrexxsource.cls line 337 "if t~symbol~translate = 'SELF'"
htmlrexxsource.cls line 338 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synself')"
htmlrexxsource.cls line 339 "if t~symbol~datatype('N')"
htmlrexxsource.cls line 340 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synnumliteral')"
htmlrexxsource.cls line 341 "if rexxkw~wordpos(t~symbol~translate) > 0"
htmlrexxsource.cls line 343 "if t~symbol~translate <> 'QUEUE' | t~index = 1"
htmlrexxsource.cls line 344 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
htmlrexxsource.cls line 348 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket2')"
htmlrexxsource.cls line 350 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket1')"
htmlrexxsource.cls line 351 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
tokenizer.cls line 54 "self~symbol = symbol"
tokenizer.cls line 98 "if tokens~at(j)~symbol~words > 0"

::ATTRIBUTE type
token type
Definition at line 45 of tokenizer.cls
Dynamically referenced by
documents.cls line 600 "if tk~type = 'dot'"
documents.cls line 606 "if tkl[j-1]~type = 'symbol'"
documents.cls line 617 "when tkl[j+2]~type = 'twiddle' & tkl[j+3]~symbol~translate = 'NEW'"
documents.cls line 624 "when tkl[j+2]~type = 'twiddle'"
documents.cls line 634 "if tk~type = 'symbol' & tk~symbol~translate = 'CALL'"
documents.cls line 638 "if tk~type = 'lmbrack'"
documents.cls line 648 "if tkl[j]~type = 'twiddle' & j <> 1 & j <> tkl~items"
documents.cls line 653 "if tkl[j-2]~type = 'dot'"
documents.cls line 1093 "when m~type = 'LABL'"
documents.cls line 1095 "when m~type = 'METH' & m~public & m~cclass"
documents.cls line 1097 "when m~type = 'METH' & \m~public & m~cclass"
documents.cls line 1099 "when m~type = 'ATTR' & m~public & m~cclass"
documents.cls line 1101 "when m~type = 'ATTR' & \m~public & m~cclass"
documents.cls line 1103 "when m~type = 'CONS' & m~public & m~cclass"
documents.cls line 1105 "when m~type = 'CONS' & \m~public & m~cclass"
documents.cls line 1107 "when m~type = 'METH' & m~public & \m~cclass"
documents.cls line 1109 "when m~type = 'METH' & \m~public & \m~cclass"
documents.cls line 1111 "when m~type = 'ATTR' & m~public & \m~cclass"
documents.cls line 1113 "when m~type = 'ATTR' & \m~public & \m~cclass"
documents.cls line 1115 "when m~type = 'CONS' & m~public & \m~cclass"
documents.cls line 1117 "when m~type = 'CONS' & \m~public & \m~cclass"
htmlrexxclass.cls line 157 "if m~type = 'LABL'"
htmlrexxclass.cls line 176 "if m~type = 'METH'"
htmlrexxclass.cls line 186 "if m~type = 'METH' | m~type = 'ATTR'"
htmlrexxclass.cls line 186 "if m~type = 'METH' | m~type = 'ATTR'"
htmlrexxclass.cls line 364 "if m~type = 'METH'"
htmlrexxclass.cls line 415 "if m~type = 'METH'"
htmlrexxprogram.cls line 144 "when i~type = 'PROC'"
htmlrexxprogram.cls line 149 "when i~type = 'LABL'"
htmlrexxprogram.cls line 154 "when i~type = 'CLAS'"
htmlrexxprogram.cls line 160 "when i~type = 'METH'"
htmlrexxprogram.cls line 164 "when i~type = 'ATTR'"
htmlrexxprogram.cls line 168 "when i~type = 'ROUT'"
htmlrexxprogram.cls line 173 "when i~type = 'REQU'"
htmlrexxprogram.cls line 177 "when i~type = 'OPTS'"
htmlrexxprogram.cls line 181 "when i~type = 'CONS'"
htmlrexxprogram.cls line 186 "say 'unknown feature' i~type"
htmlrexxprogram.cls line 197 "if i~type = 'PROC' & i~rexxname = '--entry_proc'"
htmlrexxprogram.cls line 211 "if i~type = 'REQU'"
htmlrexxprogram.cls line 221 "if i~type = 'CLAS'"
htmlrexxprogram.cls line 293 "if m~type = 'METH'"
htmlrexxprogram.cls line 365 "if m~type = 'PROC'"
htmlrexxsource.cls line 333 "when t~type = 'symbol'"
htmlrexxsource.cls line 335 "if t~symbol~translate = 'NEW' & prevtok~type = 'twiddle'"
htmlrexxsource.cls line 347 "when t~type = 'lsbrack' | t~type = 'rsbrack'"
htmlrexxsource.cls line 347 "when t~type = 'lsbrack' | t~type = 'rsbrack'"
htmlrexxsource.cls line 349 "when t~type = 'lmbrack' | t~type = 'rmbrack'"
htmlrexxsource.cls line 349 "when t~type = 'lmbrack' | t~type = 'rmbrack'"
htmltree.cls line 268 "when i~type = 'PROC'"
htmltree.cls line 270 "when i~type = 'LABL'"
htmltree.cls line 272 "when i~type = 'ROUT'"
htmltree.cls line 274 "when i~type = 'REQU'"
htmltree.cls line 280 "when i~type = 'OPTS'"
htmltree.cls line 284 "when i~type = 'METH'"
htmltree.cls line 286 "when i~type = 'ATTR'"
htmltree.cls line 288 "when i~type = 'CONS'"
htmltree.cls line 292 "when i~type = 'CLAS'"
htmltree.cls line 298 "say 'unknown' i~type"
htmltree.cls line 311 "if i~type = 'REQU'"
htmltree.cls line 375 "if m~type = 'LABL'"
htmlutil.cls line 125 "if m~type = 'METH' | m~type = 'ATTR'"
htmlutil.cls line 125 "if m~type = 'METH' | m~type = 'ATTR'"
htmlutil.cls line 134 "if m~type = 'METH' | m~type = 'ATTR'"
htmlutil.cls line 134 "if m~type = 'METH' | m~type = 'ATTR'"
htmlutil.cls line 165 "if m~type = 'PROC' | m~type = 'ROUT'"
htmlutil.cls line 165 "if m~type = 'PROC' | m~type = 'ROUT'"
rexxliterate.cls line 304 "if e~type = 'COMT' | e~feature~objectname = 'QUOT'"
rexxliterate.cls line 313 "when e~type = 'CLAS'"
rexxliterate.cls line 315 "when e~type = 'METH' | e~type = 'ATTR'"
rexxliterate.cls line 315 "when e~type = 'METH' | e~type = 'ATTR'"
tokenizer.cls line 55 "self~type = type"

::ATTRIBUTE index
position in list
Definition at line 46 of tokenizer.cls
Dynamically referenced by
htmlrexxsource.cls line 325 "col~fcaddpre(c~flatclause, rf~token~index, '<a href="'rf~referee~hdocurl'#'rf~referee~hdocanchor'">')"
htmlrexxsource.cls line 326 "col~fcaddpost(c~flatclause, rf~token~index + rf~token~symbol~length-1, '</a>')"
htmlrexxsource.cls line 336 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synclass')"
htmlrexxsource.cls line 336 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synclass')"
htmlrexxsource.cls line 338 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synself')"
htmlrexxsource.cls line 338 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synself')"
htmlrexxsource.cls line 340 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synnumliteral')"
htmlrexxsource.cls line 340 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synnumliteral')"
htmlrexxsource.cls line 343 "if t~symbol~translate <> 'QUEUE' | t~index = 1"
htmlrexxsource.cls line 344 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
htmlrexxsource.cls line 344 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
htmlrexxsource.cls line 348 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket2')"
htmlrexxsource.cls line 348 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket2')"
htmlrexxsource.cls line 350 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket1')"
htmlrexxsource.cls line 350 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synbracket1')"
htmlrexxsource.cls line 351 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
htmlrexxsource.cls line 351 "self~colourspan(c~flatclause, col, t~index, t~index+t~symbol~length-1, 'synkeyword')"
rexxprogram.cls line 806 "curfeat~endclause = self~clauses~index(endclause)"
rexxprogram.cls line 841 "j = self~codefeatures~index(current) + 1"
rexxprogram.cls line 1198 "j = self~features~index(feature)"
rexxprogram.cls line 1377 "j = self~features~index(feature)"
tokenizer.cls line 56 "self~index = index"

::ATTRIBUTE user
for user classification
Definition at line 47 of tokenizer.cls
Dynamically referenced by
documents.cls line 133 "self~rxprogram~user = self"
documents.cls line 165 "prevmethod~feature~ownerclass~user~methods~queue(rf)"
documents.cls line 196 "c~ownerclass~user~methods~queue(rf)"
documents.cls line 209 "c~ownerclass~user~methods~queue(rf)"
documents.cls line 241 "c~ownerclass~user~methods~queue(rf)"
documents.cls line 450 "f~document~reqrefs~queue(.reference~new(c~user, f~document, .nil, 'REQ'))"
documents.cls line 477 "currowner = c~user"
documents.cls line 905 "feature~user = self"
documents.cls line 1235 "return self~feature~ownerclass~user"
documents.cls line 1363 "return self~feature~ownerclass~user"
htmlindex.cls line 381 "owner = i~feature~ownerclass~user"
htmlrexxsource.cls line 140 "anchordoc = rdc~feature~ownerclass~user~hdocurl"
htmlrexxsource.cls line 146 "anchordoc = rdc~feature~ownerclass~user~hdocurl"
tokenizer.cls line 57 "self~user = .nil"

::METHOD init
Parameters
symbol - string representation of the tokenized symbol
type - type of the tokenized symbol
index - index of the tokenized symbol in a tokenlist
Definition at line 52 of tokenizer.cls

Get RexxLiterate at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on 31 Aug 2010 05:20:36 for RexxLiterate by rexxliterate  0.0.1