Author(s): Göran Smedbäck.
parser_util
):- use_module(library(parser_util)).
at_least_one/4
,
at_least_one/5
,
fillout/4
,
fillout/5
,
create_node/3
,
create_field/3
,
create_field/4
,
create_field/5
,
create_directed_field/5
,
correct_commenting/4
,
create_parse_structure/1
,
create_parse_structure/2
,
create_parse_structure/3
,
create_environment/4
,
insert_comments_in_beginning/3
,
get_environment_name/2
,
get_environment_type/2
,
get_row_number/2
,
add_environment_whitespace/3
,
get_indentation/2
,
inc_indentation/2
,
dec_indentation/2
,
add_indentation/3
,
reduce_indentation/3
,
push_whitespace/3
,
push_dictionaries/3
,
get_parsed/2
,
get_environment/2
,
inside_proto/1
,
get_dictionaries/2
,
strip_from_list/2
,
strip_from_term/2
,
strip_clean/2
,
strip_exposed/2
,
strip_restricted/2
,
strip_interface/2
,
set_parsed/3
,
set_environment/3
,
insert_parsed/3
,
reverse_parsed/2
,
stop_parse/2
,
look_first_parsed/2
,
get_first_parsed/3
,
remove_code/3
,
look_ahead/3
.
parser_util
)No further documentation available for this predicate.
No further documentation available for this predicate.
No further documentation available for this predicate.
No further documentation available for this predicate.
Usage: create_node(NodeTypeId, Parse, Node)
NodeTypeId
is an atom.
(basic_props:atm/1
)
Parse
is a parse structure.
(internal_types:parse/1
)
Node
is any term.
(basic_props:term/1
)
NodeTypeId
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Node
is a free variable.
(term_typing:var/1
)
Usage: create_field(FieldNameId, Arguments, Field)
FieldNameId
is an atom.
(basic_props:atm/1
)
Arguments
is any term.
(basic_props:term/1
)
Field
is any term.
(basic_props:term/1
)
FieldNameId
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Arguments
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Field
is a free variable.
(term_typing:var/1
)
Usage: create_field(FieldAccess, FieldType, FieldId, Field)
FieldAccess
is an atom.
(basic_props:atm/1
)
FieldType
is an atom.
(basic_props:atm/1
)
FieldId
is an atom.
(basic_props:atm/1
)
Field
is any term.
(basic_props:term/1
)
FieldAccess
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
FieldType
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
FieldId
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Field
is a free variable.
(term_typing:var/1
)
Usage: create_field(FieldAccess, FieldType, FieldId, Fieldvalue, Field)
FieldAccess
is an atom.
(basic_props:atm/1
)
FieldType
is an atom.
(basic_props:atm/1
)
FieldId
is an atom.
(basic_props:atm/1
)
Fieldvalue
is any term.
(basic_props:term/1
)
Field
is any term.
(basic_props:term/1
)
FieldAccess
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
FieldType
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
FieldId
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Fieldvalue
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Field
is a free variable.
(term_typing:var/1
)
Usage: create_directed_field(Access, Type, Id0, Id1, Field)
Access
is an atom.
(basic_props:atm/1
)
Type
is an atom.
(basic_props:atm/1
)
Id0
is an atom.
(basic_props:atm/1
)
Id1
is an atom.
(basic_props:atm/1
)
Field
is any term.
(basic_props:term/1
)
Access
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Type
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Id0
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Id1
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Field
is a free variable.
(term_typing:var/1
)
Usage: correct_commenting(Place, Comment, ParsedIn, ParsedOut)
Place
is an atom.
(basic_props:atm/1
)
Comment
is a compound term.
(basic_props:struct/1
)
ParsedIn
is any term.
(basic_props:term/1
)
ParsedOut
is any term.
(basic_props:term/1
)
Place
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Comment
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParsedIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParsedOut
is a free variable.
(term_typing:var/1
)
Usage: create_parse_structure(Parse)
Parse
is a parse structure.
(internal_types:parse/1
)
Parse
is a free variable.
(term_typing:var/1
)
Usage 1: create_parse_structure(ParseIn, ParseOut)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage 2: create_parse_structure(ParsedList, ParseOut)
ParsedList
is a list of term
s.
(basic_props:list/2
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParsedList
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: create_parse_structure(ParsedList, ParseIn, ParseOut)
ParsedList
is a list of term
s.
(basic_props:list/2
)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParsedList
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: create_environment(Parse, EnvType, Name, EnvStruct)
Parse
is a parse structure.
(internal_types:parse/1
)
EnvType
is an atom.
(basic_props:atm/1
)
Name
is an atom.
(basic_props:atm/1
)
EnvStruct
is an environment structure.
(internal_types:environment/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
EnvType
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Name
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
EnvStruct
is a free variable.
(term_typing:var/1
)
Usage: insert_comments_in_beginning(Comment, ParseIn, ParseOut)
Comment
is a compound term.
(basic_props:struct/1
)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
Comment
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: get_environment_name(Environment, Name)
Environment
is an environment structure.
(internal_types:environment/1
)
Name
is an atom.
(basic_props:atm/1
)
Environment
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Name
is a free variable.
(term_typing:var/1
)
Usage: get_environment_type(Environment, Type)
Environment
is an environment structure.
(internal_types:environment/1
)
Type
is an atom.
(basic_props:atm/1
)
Environment
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Type
is a free variable.
(term_typing:var/1
)
Usage: get_row_number(Parse, Row)
Parse
is a parse structure.
(internal_types:parse/1
)
Row
is a number.
(basic_props:num/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Row
is a free variable.
(term_typing:var/1
)
Usage: add_environment_whitespace(EnvIn, WhiteSpaceList, EnvOut)
EnvIn
is an environment structure.
(internal_types:environment/1
)
WhiteSpaceList
is a list of atm
s.
(basic_props:list/2
)
EnvOut
is an environment structure.
(internal_types:environment/1
)
EnvIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
WhiteSpaceList
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
EnvOut
is a free variable.
(term_typing:var/1
)
Usage 1: get_indentation(Whitespace, Indentation)
Whitespace
is a whitespace structure.
(internal_types:whitespace/1
)
Indentation
is a number.
(basic_props:num/1
)
Whitespace
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Indentation
is a free variable.
(term_typing:var/1
)
Usage 2: get_indentation(Parse, Indentation)
Parse
is a parse structure.
(internal_types:parse/1
)
Indentation
is a number.
(basic_props:num/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Indentation
is a free variable.
(term_typing:var/1
)
Usage: inc_indentation(ParseIn, ParseOut)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: dec_indentation(ParseIn, ParseOut)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
No further documentation available for this predicate.
No further documentation available for this predicate.
Usage: push_whitespace(ParseWithWhitespace, ParseIn, ParseOut)
ParseWithWhitespace
is a parse structure.
(internal_types:parse/1
)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParseWithWhitespace
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: push_dictionaries(Parse, Parse, Parse)
Parse
is a parse structure.
(internal_types:parse/1
)
Parse
is a parse structure.
(internal_types:parse/1
)
Parse
is a parse structure.
(internal_types:parse/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Parse
is a free variable.
(term_typing:var/1
)
Usage 1: get_parsed(ParseStructure, ListOfParsed)
ParseStructure
is a parse structure.
(internal_types:parse/1
)
ListOfParsed
is a list of term
s.
(basic_props:list/2
)
ParseStructure
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ListOfParsed
is a free variable.
(term_typing:var/1
)
Usage 2: get_parsed(ParseStructure, EnvironmentStructure)
ParseStructure
is a parse structure.
(internal_types:parse/1
)
EnvironmentStructure
is an environment structure.
(internal_types:environment/1
)
ParseStructure
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
EnvironmentStructure
is a free variable.
(term_typing:var/1
)
Usage 3: get_parsed(ParseStructure, Dictionaries)
ParseStructure
is a parse structure.
(internal_types:parse/1
)
Dictionaries
is a dictionary.
(internal_types:dictionary/1
)
ParseStructure
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Dictionaries
is a free variable.
(term_typing:var/1
)
No further documentation available for this predicate.
Usage: inside_proto(Parse)
Parse
is a parse structure.
(internal_types:parse/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
No further documentation available for this predicate.
Usage: strip_from_list(ListWithComments, CleanList)
ListWithComments
is a list of term
s.
(basic_props:list/2
)
CleanList
is a list of term
s.
(basic_props:list/2
)
ListWithComments
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
CleanList
is a free variable.
(term_typing:var/1
)
Usage: strip_from_term(Term, Stripped)
Term
is any term.
(basic_props:term/1
)
Stripped
is any term.
(basic_props:term/1
)
Term
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Stripped
is a free variable.
(term_typing:var/1
)
Usage: strip_clean(ParsedIn, ParsedOut)
ParsedIn
is any term.
(basic_props:term/1
)
ParsedOut
is any term.
(basic_props:term/1
)
ParsedIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParsedOut
is a free variable.
(term_typing:var/1
)
No further documentation available for this predicate.
No further documentation available for this predicate.
Usage: strip_interface(Interface, StrippedInterface)
Interface
is a list of term
s.
(basic_props:list/2
)
StrippedInterface
is a list of term
s.
(basic_props:list/2
)
Interface
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
StrippedInterface
is a free variable.
(term_typing:var/1
)
Usage: set_parsed(ParseIn, NewParseList, ParseOut)
ParseIn
is a parse structure.
(internal_types:parse/1
)
NewParseList
is a list of term
s.
(basic_props:list/2
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
NewParseList
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
Usage: set_environment(Environment, ParseIn, ParseOut)
Environment
is an environment structure.
(internal_types:environment/1
)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
Environment
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
No further documentation available for this predicate.
No further documentation available for this predicate.
Usage: stop_parse(TermIn, TermOut)
TermIn
is any term.
(basic_props:term/1
)
TermOut
is any term.
(basic_props:term/1
)
TermIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
TermOut
is a free variable.
(term_typing:var/1
)
Usage: look_first_parsed(Parse, First)
Parse
is a parse structure.
(internal_types:parse/1
)
First
is any term.
(basic_props:term/1
)
Parse
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
First
is a free variable.
(term_typing:var/1
)
Usage: get_first_parsed(ParseIn, ParseOut, First)
ParseIn
is a parse structure.
(internal_types:parse/1
)
ParseOut
is a parse structure.
(internal_types:parse/1
)
First
is any term.
(basic_props:term/1
)
ParseIn
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
ParseOut
is a free variable.
(term_typing:var/1
)
First
is a free variable.
(term_typing:var/1
)
No further documentation available for this predicate.
Usage: look_ahead(Name, Parsed, Parsed)
Name
is an atom.
(basic_props:atm/1
)
Parsed
is a list of term
s.
(basic_props:list/2
)
Parsed
is a list of term
s.
(basic_props:list/2
)
Name
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Parsed
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Parsed
is a free variable.
(term_typing:var/1
)
Go to the first, previous, next, last section, table of contents.