Uses of Interface
com.mackenziehigh.sexpr.Sexpr
Packages that use Sexpr
Package
Description
Symbolic Expressions.
(Private) Schema Implementation.
-
Uses of Sexpr in com.mackenziehigh.sexpr
Classes in com.mackenziehigh.sexpr with type parameters of type SexprClasses in com.mackenziehigh.sexpr that implement SexprModifier and TypeClassDescriptionfinal class
Symbolic Atom.final class
Symbolic List.Methods in com.mackenziehigh.sexpr that return SexprModifier and TypeMethodDescriptionSList.first()
This method retrieves the first element of this list.SList.get
(int i) Sexpr<?>
Schema.Match.input()
Get the symbolic-expression that was the input tomatch()
.SList.last()
This method retrieves the last element of this list.Sexpr<?>
SList.Mutator.node()
This method retrieves the currently selected node.Methods in com.mackenziehigh.sexpr that return types with arguments of type SexprModifier and TypeMethodDescriptionSList.asMap()
This method retrieves this value, as a map.SList.asMap()
This method retrieves this value, as a map.Schema.Match.lastSuccess()
Get the last node of the input that was successfully matched, if any, which is useful for locating and reporting errors in the input.Methods in com.mackenziehigh.sexpr with parameters of type SexprModifier and TypeMethodDescriptionThis method appends the given value onto the selected node, if the selected node is a symbolic-list.default int
static SList
SList.fromMap
(SourceLocation location, Map<? extends Sexpr<?>, ? extends Sexpr<?>> map, Sexpr<?> separator) This method creates a new two-dimensional list from the given map.This method determines whether the given symbolic-expression obeys this schema.static SList
Factory Method.static SList
SList.of
(SourceLocation location, Sexpr<?>... elements) Factory Method.This method prepends the given value onto the selected node, if the selected node is a symbolic-list.This method sets the selected node to the given value.Method parameters in com.mackenziehigh.sexpr with type arguments of type SexprModifier and TypeMethodDescriptionUse this method to define an action that will be executed after matches of a named rule during a specific pass.Use this method to define an action that will be executed before matches of a named rule during a specific pass.boolean
This method performs a breadth-first-search of the tree rooted at this node.boolean
This method performs a breadth-first-search of the tree rooted at this node.boolean
This method performs a breadth-first-search of the tree rooted at this node.Use this method to define a predicate that can be used within a schema.static SList
SList.copyOf
(SourceLocation location, Iterable<? extends Sexpr<?>> list) Factory Method.static SList
SList.copyOf
(SourceLocation location, Iterator<? extends Sexpr<?>> stream) Factory Method.static SList
SList.copyOf
(SourceLocation location, Stream<? extends Sexpr<?>> stream) Factory Method.static SList
Factory Method.static SList
Factory Method.static SList
Factory Method.boolean
This method performs a depth-first-search of the tree rooted at this node.boolean
This method performs a depth-first-search of the tree rooted at this node.boolean
This method performs a depth-first-search of the tree rooted at this node.static SList
SList.fromMap
(SourceLocation location, Map<? extends Sexpr<?>, ? extends Sexpr<?>> map) This method creates a new two-dimensional list from the given map.static SList
SList.fromMap
(SourceLocation location, Map<? extends Sexpr<?>, ? extends Sexpr<?>> map) This method creates a new two-dimensional list from the given map.static SList
SList.fromMap
(SourceLocation location, Map<? extends Sexpr<?>, ? extends Sexpr<?>> map, Sexpr<?> separator) This method creates a new two-dimensional list from the given map.static SList
SList.fromMap
(SourceLocation location, Map<? extends Sexpr<?>, ? extends Sexpr<?>> map, Sexpr<?> separator) This method creates a new two-dimensional list from the given map.boolean
This method performs a post-order-search of the tree rooted at this node.boolean
This method performs a post-order-search of the tree rooted at this node.boolean
This method performs a post-order-search of the tree rooted at this node.boolean
This method performs a pre-order-search of the tree rooted at this node.boolean
This method performs a pre-order-search of the tree rooted at this node.boolean
This method performs a pre-order-search of the tree rooted at this node.void
This method performs a traversal of the tree rooted at this node.void
This method performs a traversal of the tree rooted at this node.void
This method performs a traversal of the tree rooted at this node. -
Uses of Sexpr in com.mackenziehigh.sexpr.internal.schema
Methods in com.mackenziehigh.sexpr.internal.schema with parameters of type SexprModifier and TypeMethodDescriptionThis method performs a match-attempt.Method parameters in com.mackenziehigh.sexpr.internal.schema with type arguments of type SexprModifier and TypeMethodDescriptionvoid
InternalSchema.defineAfterAction
(String pass, String rule, Consumer<Sexpr<?>> action) void
InternalSchema.defineBeforeAction
(String pass, String rule, Consumer<Sexpr<?>> action) void
InternalSchema.defineCondition
(String name, Predicate<Sexpr<?>> condition) This method defines a condition that can be referenced by a 'require' rule.