Skip to content

The Statement class

boakley edited this page Nov 30, 2014 · 1 revision

The Statement class defines a statement. A statement is a list of cells (strings) from one or more Rows where the second and subsequent rows are continuations. A statement is a list, which means you can iterate over each cell as you can with any list.

In addition to the normal attributes of a list, a Statement has the following attributes which may be used in a rule:

  • startline is the line number in the file where the statement begins (ie: the line number of the first row that makes up the statement)
  • endline is the line number in the file of the last row that makes up the statement