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
)
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
)
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
)
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
)
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
)
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
)
Usage: create_parse_structure(-Parse)
-Parse
is a parse structure.
(internal_types:parse/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
)
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
)
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
)
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
)
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
)
Usage: get_environment_name(+Environment, -Name)
+Environment
is an environment structure.
(internal_types:environment/1
)
-Name
is an atom.
(basic_props:atm/1
)
Usage: get_environment_type(+Environment, -Type)
+Environment
is an environment structure.
(internal_types:environment/1
)
-Type
is an atom.
(basic_props:atm/1
)
Usage: get_row_number(+Parse, -Row)
+Parse
is a parse structure.
(internal_types:parse/1
)
-Row
is a number.
(basic_props:num/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
)
Usage 1: get_indentation(+Whitespace, -Indentation)
+Whitespace
is a whitespace structure.
(internal_types:whitespace/1
)
-Indentation
is a number.
(basic_props:num/1
)
Usage 2: get_indentation(+Parse, -Indentation)
+Parse
is a parse structure.
(internal_types:parse/1
)
-Indentation
is a number.
(basic_props:num/1
)
Usage: inc_indentation(+ParseIn, -ParseOut)
+ParseIn
is a parse structure.
(internal_types:parse/1
)
-ParseOut
is a parse structure.
(internal_types:parse/1
)
Usage: dec_indentation(+ParseIn, -ParseOut)
+ParseIn
is a parse structure.
(internal_types:parse/1
)
-ParseOut
is a parse structure.
(internal_types:parse/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
)
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
)
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
)
Usage 2: get_parsed(+ParseStructure, -EnvironmentStructure)
+ParseStructure
is a parse structure.
(internal_types:parse/1
)
-EnvironmentStructure
is an environment structure.
(internal_types:environment/1
)
Usage 3: get_parsed(+ParseStructure, -Dictionaries)
+ParseStructure
is a parse structure.
(internal_types:parse/1
)
-Dictionaries
is a dictionary.
(internal_types:dictionary/1
)
No further documentation available for this predicate.
Usage: inside_proto(+Parse)
+Parse
is a parse structure.
(internal_types:parse/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
)
Usage: strip_from_term(+Term, -Stripped)
+Term
is any term.
(basic_props:term/1
)
-Stripped
is any term.
(basic_props:term/1
)
Usage: strip_clean(+ParsedIn, -ParsedOut)
+ParsedIn
is any term.
(basic_props:term/1
)
-ParsedOut
is any term.
(basic_props:term/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
)
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
)
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
)
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
)
Usage: look_first_parsed(+Parse, -First)
+Parse
is a parse structure.
(internal_types:parse/1
)
-First
is any term.
(basic_props:term/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
)
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
)
Go to the first, previous, next, last section, table of contents.