Package eu.bandm.tools.tpath.absy
Class TPath.__Patterns
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.__Patterns
- Enclosing class:
- TPath
@Generated(generator="eu.bandm.tools.umod",
           version="",
           timestamp="2025-08-17_22h54m33")
public static class TPath.__Patterns
extends Object
Ancillary class providing Paisley compound patterns.  
 The methods with names  
cast_[T] simply call ReflectionPatterns.forInstancesOf(java.lang.Class, eu.bandm.tools.paisley.Pattern). Thus they combine a pattern which matches
 some super type with a type check.The methods with names 
 term_[T] get as parameters one pattern for the super class and one for 
 each own field and combine them to a pattern for the class T.
(The 'term(..)' methods do intentionally not include the code of the 'cast(..)' methods, because the latter is not needed when the former is used as the pattern for the superclass.)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncast_AxisSpecifier(Pattern<? super TPath.AxisSpecifier> p) cast_BinaryExpr(Pattern<? super TPath.BinaryExpr> p) cast_Comment(Pattern<? super TPath.Comment> p) cast_ComparisonExpr(Pattern<? super TPath.ComparisonExpr> p) cast_EqualityExpr(Pattern<? super TPath.EqualityExpr> p) cast_Expr(Pattern<? super TPath.Expr> p) cast_Filter(Pattern<? super TPath.Filter> p) cast_FunctionCall(Pattern<? super TPath.FunctionCall> p) cast_Item(Pattern<? super TPath.Item> p) cast_Literal(Pattern<? super TPath.Literal> p) cast_LogicalExpr(Pattern<? super TPath.LogicalExpr> p) cast_Minus(Pattern<? super TPath.Minus> p) cast_Mult(Pattern<? super TPath.Mult> p) cast_NameTest(Pattern<? super TPath.NameTest> p) cast_Node(Pattern<? super TPath.Node> p) cast_Number(Pattern<? super TPath.Number> p) cast_NumericExpr(Pattern<? super TPath.NumericExpr> p) cast_Paren(Pattern<? super TPath.Paren> p) cast_PathExpr(Pattern<? super TPath.PathExpr> p) cast_Plus(Pattern<? super TPath.Plus> p) cast_Root(Pattern<? super TPath.Root> p) cast_Step(Pattern<? super TPath.Step> p) cast_Test(Pattern<? super TPath.Test> p) cast_Text(Pattern<? super TPath.Text> p) cast_TypeTest(Pattern<? super TPath.TypeTest> p) cast_UnaryExpr(Pattern<? super TPath.UnaryExpr> p) cast_Union(Pattern<? super TPath.Union> p) cast_ValueExpr(Pattern<? super TPath.ValueExpr> p) cast_VariableReference(Pattern<? super TPath.VariableReference> p) term_And(Pattern<? super TPath.LogicalExpr> superpattern) static Pattern<TPath.AxisSpecifier> term_AxisSpecifier(Pattern<? super TPath.Item> superpattern, Pattern<? super Axis> p_axis) static Pattern<TPath.BinaryExpr> term_BinaryExpr(Pattern<? super TPath.Expr> superpattern, Pattern<? super TPath.Expr> p_left, Pattern<? super TPath.Expr> p_right) static Pattern<TPath.Comment> term_Comment(Pattern<? super TPath.TypeTest> superpattern) static Pattern<TPath.ComparisonExpr> term_ComparisonExpr(Pattern<? super TPath.BinaryExpr> superpattern) term_Div(Pattern<? super TPath.NumericExpr> superpattern) term_Eq(Pattern<? super TPath.EqualityExpr> superpattern) static Pattern<TPath.EqualityExpr> term_EqualityExpr(Pattern<? super TPath.BinaryExpr> superpattern) static Pattern<TPath.Expr> term_Expr(Pattern<? super TPath.Item> superpattern, Pattern<? super Boolean> p_forcing, Pattern<? super Boolean> p_forced) static Pattern<TPath.Filter> term_Filter(Pattern<? super TPath.BinaryExpr> superpattern) static Pattern<TPath.FunctionCall> term_FunctionCall(Pattern<? super TPath.Expr> superpattern, Pattern<? super String> p_name, Pattern<? super CheckedList<TPath.Expr>> p_args) term_Geq(Pattern<? super TPath.ComparisonExpr> superpattern) term_Gt(Pattern<? super TPath.ComparisonExpr> superpattern) static Pattern<TPath.Item> term_Item(Pattern<Object> superpattern, Pattern<? super Location<XMLDocumentIdentifier>> p_location) term_Leq(Pattern<? super TPath.ComparisonExpr> superpattern) static Pattern<TPath.Literal> term_Literal(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super String> p_text) static Pattern<TPath.LogicalExpr> term_LogicalExpr(Pattern<? super TPath.BinaryExpr> superpattern) term_Lt(Pattern<? super TPath.ComparisonExpr> superpattern) static Pattern<TPath.Minus> term_Minus(Pattern<? super TPath.NumericExpr> superpattern) term_Mod(Pattern<? super TPath.NumericExpr> superpattern) static Pattern<TPath.Mult> term_Mult(Pattern<? super TPath.NumericExpr> superpattern) static Pattern<TPath.NameTest> term_NameTest(Pattern<? super TPath.Test> superpattern, Pattern<? super String> p_prefix, Pattern<? super String> p_suffix) term_Neg(Pattern<? super TPath.UnaryExpr> superpattern) term_Neq(Pattern<? super TPath.EqualityExpr> superpattern) static Pattern<TPath.Node> term_Node(Pattern<? super TPath.TypeTest> superpattern) static Pattern<TPath.Number> term_Number(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super Double> p_value) static Pattern<TPath.NumericExpr> term_NumericExpr(Pattern<? super TPath.BinaryExpr> superpattern) term_Or(Pattern<? super TPath.LogicalExpr> superpattern) static Pattern<TPath.Paren> term_Paren(Pattern<? super TPath.UnaryExpr> superpattern) static Pattern<TPath.PathExpr> term_PathExpr(Pattern<? super TPath.Expr> superpattern) static Pattern<TPath.Plus> term_Plus(Pattern<? super TPath.NumericExpr> superpattern) static Pattern<TPath.ProcessingInstruction> term_ProcessingInstruction(Pattern<? super TPath.TypeTest> superpattern, Pattern<? super String> p_target) static Pattern<TPath.Root> term_Root(Pattern<? super TPath.PathExpr> superpattern) static Pattern<TPath.Step> term_Step(Pattern<? super TPath.PathExpr> superpattern, Pattern<? super TPath.Expr> p_base, Pattern<? super TPath.AxisSpecifier> p_axis, Pattern<? super TPath.Test> p_test, Pattern<? super CheckedList<TPath.Expr>> p_predicates) static Pattern<TPath.Test> term_Test(Pattern<? super TPath.Item> superpattern) static Pattern<TPath.Text> term_Text(Pattern<? super TPath.TypeTest> superpattern) static Pattern<TPath.TypeTest> term_TypeTest(Pattern<? super TPath.Test> superpattern) static Pattern<TPath.UnaryExpr> term_UnaryExpr(Pattern<? super TPath.Expr> superpattern, Pattern<? super TPath.Expr> p_arg) static Pattern<TPath.Union> term_Union(Pattern<? super TPath.BinaryExpr> superpattern) static Pattern<TPath.ValueExpr> term_ValueExpr(Pattern<? super TPath.Expr> superpattern) static Pattern<TPath.VariableReference> term_VariableReference(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super String> p_name) 
- 
Constructor Details- 
__Patternspublic __Patterns()
 
- 
- 
Method Details- 
cast_Expr
- 
term_Exprpublic static Pattern<TPath.Expr> term_Expr(Pattern<? super TPath.Item> superpattern, Pattern<? super Boolean> p_forcing, Pattern<? super Boolean> p_forced) 
- 
cast_Node
- 
term_Node
- 
cast_Root
- 
term_Root
- 
cast_Eq
- 
term_Eq
- 
cast_Test
- 
term_Test
- 
cast_UnaryExpr
- 
term_UnaryExprpublic static Pattern<TPath.UnaryExpr> term_UnaryExpr(Pattern<? super TPath.Expr> superpattern, Pattern<? super TPath.Expr> p_arg) 
- 
cast_ValueExpr
- 
term_ValueExpr
- 
cast_PathExpr
- 
term_PathExpr
- 
cast_Text
- 
term_Text
- 
cast_EqualityExpr
- 
term_EqualityExprpublic static Pattern<TPath.EqualityExpr> term_EqualityExpr(Pattern<? super TPath.BinaryExpr> superpattern) 
- 
cast_Paren
- 
term_Paren
- 
cast_Plus
- 
term_Plus
- 
cast_Union
- 
term_Union
- 
cast_Minus
- 
term_Minus
- 
cast_Mod
- 
term_Mod
- 
cast_VariableReference
- 
term_VariableReferencepublic static Pattern<TPath.VariableReference> term_VariableReference(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super String> p_name) 
- 
cast_Step
- 
term_Steppublic static Pattern<TPath.Step> term_Step(Pattern<? super TPath.PathExpr> superpattern, Pattern<? super TPath.Expr> p_base, Pattern<? super TPath.AxisSpecifier> p_axis, Pattern<? super TPath.Test> p_test, Pattern<? super CheckedList<TPath.Expr>> p_predicates) 
- 
cast_Mult
- 
term_Mult
- 
cast_Item
- 
term_Itempublic static Pattern<TPath.Item> term_Item(Pattern<Object> superpattern, Pattern<? super Location<XMLDocumentIdentifier>> p_location) 
- 
cast_Lt
- 
term_Lt
- 
cast_Number
- 
term_Numberpublic static Pattern<TPath.Number> term_Number(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super Double> p_value) 
- 
cast_ProcessingInstructionpublic static Pattern<Object> cast_ProcessingInstruction(Pattern<? super TPath.ProcessingInstruction> p) 
- 
term_ProcessingInstructionpublic static Pattern<TPath.ProcessingInstruction> term_ProcessingInstruction(Pattern<? super TPath.TypeTest> superpattern, Pattern<? super String> p_target) 
- 
cast_FunctionCall
- 
term_FunctionCallpublic static Pattern<TPath.FunctionCall> term_FunctionCall(Pattern<? super TPath.Expr> superpattern, Pattern<? super String> p_name, Pattern<? super CheckedList<TPath.Expr>> p_args) 
- 
cast_AxisSpecifier
- 
term_AxisSpecifierpublic static Pattern<TPath.AxisSpecifier> term_AxisSpecifier(Pattern<? super TPath.Item> superpattern, Pattern<? super Axis> p_axis) 
- 
cast_NameTest
- 
term_NameTestpublic static Pattern<TPath.NameTest> term_NameTest(Pattern<? super TPath.Test> superpattern, Pattern<? super String> p_prefix, Pattern<? super String> p_suffix) 
- 
cast_Gt
- 
term_Gt
- 
cast_Comment
- 
term_Comment
- 
cast_NumericExpr
- 
term_NumericExprpublic static Pattern<TPath.NumericExpr> term_NumericExpr(Pattern<? super TPath.BinaryExpr> superpattern) 
- 
cast_Geq
- 
term_Geq
- 
cast_Literal
- 
term_Literalpublic static Pattern<TPath.Literal> term_Literal(Pattern<? super TPath.ValueExpr> superpattern, Pattern<? super String> p_text) 
- 
cast_Neg
- 
term_Neg
- 
cast_BinaryExpr
- 
term_BinaryExprpublic static Pattern<TPath.BinaryExpr> term_BinaryExpr(Pattern<? super TPath.Expr> superpattern, Pattern<? super TPath.Expr> p_left, Pattern<? super TPath.Expr> p_right) 
- 
cast_Or
- 
term_Or
- 
cast_Div
- 
term_Div
- 
cast_And
- 
term_And
- 
cast_LogicalExpr
- 
term_LogicalExprpublic static Pattern<TPath.LogicalExpr> term_LogicalExpr(Pattern<? super TPath.BinaryExpr> superpattern) 
- 
cast_Neq
- 
term_Neq
- 
cast_Leq
- 
term_Leq
- 
cast_Filter
- 
term_Filter
- 
cast_ComparisonExpr
- 
term_ComparisonExprpublic static Pattern<TPath.ComparisonExpr> term_ComparisonExpr(Pattern<? super TPath.BinaryExpr> superpattern) 
- 
cast_TypeTest
- 
term_TypeTest
 
-