Package com.mackenziehigh.sexpr
Class Schema
java.lang.Object
com.mackenziehigh.sexpr.Schema
An instance of this class can be used to determine
whether a symbolic-expression matches a pattern.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUse an instance of this class to create aSchemaobject.static interfaceResult of amatch(Sexpr)invocation. -
Method Summary
Modifier and TypeMethodDescriptionThis method determines whether the given symbolic-expression obeys this schema.static Schema.BuilderBuilder Factory.
-
Method Details
-
match
This method determines whether the given symbolic-expression obeys this schema.- Parameters:
input- is the symbolic-expression that this schema may match.- Returns:
- an object that describes the whether the match was successful or not.
-
newBuilder
Builder Factory.- Returns:
- an object that can be used to build a
Schemaobject.
-