::CLASS filechunk

abstract class for an extent of the source file

filechunks may appear mixed up in lists
they are distinguished by their ~objectname
supplied by the concrete specialization

Definition at line 1409 of rexxprogram.cls

Public Methods

.true - this filechunk contains contained contains (contained)
return whether or not this filechunk contains another
  getpos ()
return position information as a string
  init (startline, startcol, endline, endcol)
no comment
  makestring ()
describe the object as a string

Public Attributes

  endcol
last column of chunk
  endline
last line of chunk
  startcol
first column of chunk
  startline
first line of chunk
  user
user field: any use by client

Subclassed by

clause
feature
quoted
comment

Feature Detail

::METHOD startline ATTRIBUTE
first line of chunk
Definition at line 1410 of rexxprogram.cls
Dynamically referenced by
rexxprogram.cls line 1417 "self~startline = startline"
rexxprogram.cls line 1438 "if contained~startline >= self~startline & contained~endline <= self~endline"
rexxprogram.cls line 1441 "if contained~startline = self~startline & contained~endcol < self~startcol"
rexxprogram.cls line 1477 "return .clause~new(self~startline, self~startcol, self~endline, self~endcol)"

::METHOD startcol ATTRIBUTE
first column of chunk
Definition at line 1411 of rexxprogram.cls
Dynamically referenced by
rexxprogram.cls line 1418 "self~startcol = startcol"
rexxprogram.cls line 1441 "if contained~startline = self~startline & contained~endcol < self~startcol"
rexxprogram.cls line 1477 "return .clause~new(self~startline, self~startcol, self~endline, self~endcol)"

::METHOD endline ATTRIBUTE
last line of chunk
Definition at line 1412 of rexxprogram.cls
Dynamically referenced by
rexxprogram.cls line 1419 "self~endline = endline"
rexxprogram.cls line 1438 "if contained~startline >= self~startline & contained~endline <= self~endline"
rexxprogram.cls line 1445 "if contained~startline = self~endline & contained~startcol > self~endcol"
rexxprogram.cls line 1477 "return .clause~new(self~startline, self~startcol, self~endline, self~endcol)"

::METHOD endcol ATTRIBUTE
last column of chunk
Definition at line 1413 of rexxprogram.cls
Dynamically referenced by
rexxprogram.cls line 1420 "self~endcol = endcol"
rexxprogram.cls line 1445 "if contained~startline = self~endline & contained~startcol > self~endcol"
rexxprogram.cls line 1477 "return .clause~new(self~startline, self~startcol, self~endline, self~endcol)"

::ATTRIBUTE user
user field: any use by client
Definition at line 1414 of rexxprogram.cls

::METHOD init
Parameters
startline not documented
startcol not documented
endline not documented
endcol not documented
Definition at line 1415 of rexxprogram.cls

::METHOD getpos
return position information as a string
Definition at line 1424 of rexxprogram.cls
Dynamically referenced by
rexxprogram.cls line 1429 "return self~objectname self~getpos"

::METHOD makestring
describe the object as a string
Definition at line 1428 of rexxprogram.cls

::METHOD contains
return whether or not this filechunk contains another
Parameters
contained - filechunk which may be contained by this
Returns
.true - this filechunk contains contained
.false - this filechunk does not contain contained
Definition at line 1435 of rexxprogram.cls

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