Class RuleNodeVisitor
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.processing.BaseNodeVisitor
ch.tocco.nice2.security.impl.compiler.RuleNodeVisitor
- All Implemented Interfaces:
NodeVisitor
-
Constructor Summary
ConstructorDescriptionRuleNodeVisitor
(CompileContext compileContext, String securityDomainName, Selector selector) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static Permission
permissionForNode
(FuncallNode node, Map<String, Class<? extends Permission>> permisionClasses, TypeManager typeManager, ProblemSink problemSink) void
visitCondition
(Cursor cursor, ConditionNode node) void
visitEquation
(Cursor cursor, EquationNode node) void
visitFactor
(Cursor cursor, FactorNode node) void
visitFuncall
(Cursor cursor, FuncallNode node) void
visitLogical
(Cursor cursor, LogicalNode node) void
Methods inherited from class ch.tocco.nice2.conditionals.api.tree.processing.BaseNodeVisitor
beginTree, changed, hasChanged, visit, visitAnd, visitIdentifier, visitIntegration, visitIsTrue, visitLiteral, visitNot, visitOr, visitParameter
-
Constructor Details
-
RuleNodeVisitor
-
-
Method Details
-
visitPath
- Specified by:
visitPath
in interfaceNodeVisitor
- Overrides:
visitPath
in classBaseNodeVisitor
-
visitEquation
- Specified by:
visitEquation
in interfaceNodeVisitor
- Overrides:
visitEquation
in classBaseNodeVisitor
-
visitFactor
- Specified by:
visitFactor
in interfaceNodeVisitor
- Overrides:
visitFactor
in classBaseNodeVisitor
-
visitFuncall
- Specified by:
visitFuncall
in interfaceNodeVisitor
- Overrides:
visitFuncall
in classBaseNodeVisitor
-
permissionForNode
public static Permission permissionForNode(FuncallNode node, Map<String, Class<? extends Permission>> permisionClasses, TypeManager typeManager, ProblemSink problemSink) -
visitLogical
- Specified by:
visitLogical
in interfaceNodeVisitor
- Overrides:
visitLogical
in classBaseNodeVisitor
-
visitCondition
- Specified by:
visitCondition
in interfaceNodeVisitor
- Overrides:
visitCondition
in classBaseNodeVisitor
-
endTree
- Specified by:
endTree
in interfaceNodeVisitor
- Overrides:
endTree
in classBaseNodeVisitor
-