Greg London > Parse-Gnaw-0.600 > Parse::Gnaw::LinkedListLetterConstants

Download:
Parse-Gnaw-0.600.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: Parse-Gnaw-0.601

NAME ^

Parse::Gnaw::LinkedListLetterConstants - Hold subroutine/constants for LinkedListLetter objects These are NOT contained in a separate package so that another file can use them and they automatically get imported into that package.

VERSION ^

Version 0.01

SUBROUTINES/METHODS ^

LIST__LETTER_PACKAGE This is a constant index into the object array for the "letter" object package name. The linked list object will need to create new letters and it will need to know what package to use to create those letters from.

LIST__CONNECTIONS_MINUS_ONE This is a constant index into the object array for the Maximum Number of Axis, minus 1. An object with 3 axis will have this set to 2. Index into the axis array will be 0 .. LIST__CONNECTIONS_MINUS_ONE

LIST__FIRST_START This is a constant index into the object array for the LIST__FIRST_START. The First start is a dummy placeholder letter that is always the "first" Start position in the linked list and doesn't contain any real payload.

LIST__LAST_START This is a constant index into the object array for the LIST__LAST_START. The Last Start is a dummy placeholder letter that is always the "last" letter in the linked list "start" sequence and doesn't contain any real payload.

LIST__CURR_START This is a constant index into the object array for the LIST__CURR_START. This is the current letter where we would start our next match/parse. This is the letter AFTER the previous match.

        A B C D E F G

If we do a match/parse that matches "A B C" then LIST__CURR_START will point to D.

LIST__MOST_RECENTLY_CREATED_LETTER This is a pointer to whatever was the last letter that was created by the linked list.

LIST__HEADING_DIRECTION_INDEX This remembers which way we are heading when we start finding a match.

LIST__HEADING_PREVNEXT_INDEX This remembers which way we are heading when we start finding a match.

LIST__PREVIOUS_LINE_LETTER This remembers the letter from the previous line. Need this for 2D text and any other linked list structure that isn't just 1D.

LIST__QUANTIFIER_STACK As we parse this linked/list, ew need to keep track of the quantifiers we encounter.

LIST__RULE_STACK might need this later. currently not using it.

syntax highlighting: