dsa.pl:    trace(get_one_item_2nd_aux),
parser.pl:    trace(module_as_items),
parser.pl:%    trace(item),
parser.pl:   module_as_items(ModuleName, ExpTokens, LocTokens),
parser.pl:	  ;  module_as_items(ModuleName, ExpTokens, LocTokens),
parser.pl: * module_as_items(+ModuleName, -list(item), -list(item))
parser.pl: * module_as_items(+ModuleName, -Exp_list, -Loc_list)
parser.pl:module_as_items(ModuleName, ExpTokens, LocTokens):-
parser.pl: * module_part(+ModuleName, +String, -List(item))
parser.pl:	     ( LocTokens = [item([big_name('MODULE'), big_name(LocName)], _, _)
parser.pl:		  ( ExpTokens = [item([big_name('CLOSED'), big_name(ExpName)],
parser.pl:		    ;  ( ExpTokens = [item([big_name('EXPORT'),big_name(ExpName)
parser.pl:	       ;  ( ( ExpTokens = [item([big_name('EXPORT'), big_name(ExpName)],
parser.pl:	              ExpTokens = [item([big_name('CLOSED'), big_name(ExpName)],
parser.pl:	          ( LocTokens = [item([big_name('LOCAL'), big_name(LocName)],
parser.pl:   ( (  Item = item([big_name('IMPORT')|Tokens], Ln1, Ln2), Switch = 'IMPORT'
parser.pl:      ; Item = item([big_name('LIFT')|Tokens], Ln1, Ln2), Switch = 'LIFT'
parser.pl:     ;  ( ExpTokens = [item([big_name('EXPORT')|_], _, _) | _]
parser.pl:     ;  ( ExpTokens = [item([big_name('EXPORT')|_], _, _) | _]
parser.pl:   ( Item = item([big_name(BigName)|Tokens], Ln1, Ln2),
parser.pl:   ( Item = item([big_name(BigName)|Tokens], Ln1, Ln2),
parser.pl:   ( Item = item([big_name('DELAY')|DelayPart], Ln1, Ln2)
parser.pl:	format(user_error, '~nError: there are illegal items in the export part of module "~w"~nThese items are:~n', [ModuleName]),
parser.pl:	print_error_items(ExpTokens)
parser.pl:   Item = item(WholeTokens, Ln1, Ln2),	% for errors and other checking
parser.pl:print_error_items([]).
parser.pl:print_error_items([item(Tokens, Ln1, Ln2)|Items]) :-
parser.pl:   print_error_items(Items).
parser.pl: *   Tokens can be [], indicating that the item is not going to be printed
programs.pl:   user:get_one_item_2nd_aux(Chars1, Remains, Tokens),
programs.pl:   user:get_one_item_2nd_aux(Chars1, Remains, Tokens),
programs.pl:   user:get_one_item_2nd_aux(Chars1, Rest, Tokens),
sharedPrograms.pl:   user:get_one_item_2nd(Chars, [], Item),
statement.pl:statement(item(Tokens, _, _), ModuleName, Formulae, ErrorReturn, Language):-
system.pl:   user:get_one_item_2nd(Chars, [], Item),
term.pl:     ;  Terms2 = [Term|Terms],		% when it's the end of item, accept it.
tokenizer2.pl::- module(tokenizer2,[get_one_item_2nd/3,get_one_item_2nd_aux/3]).   % converted djd
tokenizer2.pl:This tokenizer does not return line number and returns items in a list of
tokenizer2.pl:   get_one_item_2nd(Chars, Remains, Item),
tokenizer2.pl: * get_one_item_2nd(+Chars, -Remains, -Item)
tokenizer2.pl: * get_one_item_2nd_aux(+Chars, -Remains, -Item)
tokenizer2.pl: * usage: get_one_item_2nd(+Chars, -Remains, -Item)
tokenizer2.pl: * get_one_item_2nd is determinate and alway succeeds.
tokenizer2.pl:get_one_item_2nd(Chars, Remains, Item) :-
tokenizer2.pl:     -> format(user_error, '~nWarning: there is an empty item.~n', []),
tokenizer2.pl:        get_one_item_2nd(Remains2, Remains, Item)
tokenizer2.pl:	     get_one_item_2nd_aux(Remains2, Remains, Item2)
tokenizer2.pl:get_one_item_2nd_aux(Chars, Remains, Item):-
tokenizer2.pl:	     get_one_item_2nd_aux(Remains2, Remains, Item2)
tokenizer.pl: * Note: the line number for the first item is always not right.
tokenizer.pl:   get_one_item(Stream, Item, StartLine, EndLine, LeftChars, AheadChars),
tokenizer.pl:	Module = [item(Item, StartLine2, EndLine)|Module2],
tokenizer.pl: * get_one_item(+Stream, -Item, +Start, -End, Left, Ahead)
tokenizer.pl: * get_one_item_aux(+Stream, -Item, +Start, -End, Left, Ahead)
tokenizer.pl: *	Item:	item(list(token), start-line-No, end-line-No).
tokenizer.pl: *	Start:  the starting line number of the item
tokenizer.pl: *	End:	the ending line number of the item
tokenizer.pl: * usage: get_one_item(+Stream, -Item, +Start, -End, [], _)
tokenizer.pl: * get_one_item is determinate and alway succeeds.
tokenizer.pl:get_one_item(Stream, Item, Start, End, Left, Ahead) :-
tokenizer.pl:          -> format(user_error, '~nWarning: empty item in line ~d.~n', [Ln]),
tokenizer.pl:	     % empty items are thrown away
tokenizer.pl:	     get_one_item(Stream, Item, Ln, End, Temp, Ahead)
tokenizer.pl:          ;  get_one_item_aux(Stream, Item2, Ln, End, Temp, Ahead, EndOfFile),
tokenizer.pl:	       ;  Item = end_of_file		% unfinished item discarded
tokenizer.pl:get_one_item_aux(Stream, Item, Start, End, Left, Ahead, EndOfFile):-
tokenizer.pl:	     get_one_item_aux(Stream, Item2, Ln, End, Temp, Ahead, EndOfFile)
toplev.pl:   get_one_item_2nd_aux(String, _Remains, Tokens),
