Class AclTreeBuilder
java.lang.Object
ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
ch.tocco.nice2.security.impl.compiler.AclTreeBuilder
- All Implemented Interfaces:
ACLListener
,org.antlr.v4.runtime.tree.ParseTreeListener
-
Field Summary
Fields inherited from class ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
problemSink, typeManager
-
Constructor Summary
ConstructorDescriptionAclTreeBuilder
(ProblemSink problemSink, TypeManager typeManager) AclTreeBuilder
(String source, ProblemSink problemSink, TypeManager typeManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byACLParser.acl()
.void
Enter a parse tree produced byACLParser.aclPart()
.void
Enter a parse tree produced byACLParser.aclRule()
.void
Enter a parse tree produced byACLParser.and()
.void
Enter a parse tree produced byACLParser.argument()
.void
Enter a parse tree produced byACLParser.authority()
.void
Enter a parse tree produced byACLParser.condition()
.void
Enter a parse tree produced byACLParser.factor()
.void
Enter a parse tree produced byACLParser.include()
.void
Enter a parse tree produced byACLParser.literal()
.void
Enter a parse tree produced byACLParser.not()
.void
Enter a parse tree produced byACLParser.or()
.void
Enter a parse tree produced byACLParser.paren()
.void
Enter a parse tree produced byACLParser.path()
.void
Enter a parse tree produced byACLParser.permission()
.void
Enter a parse tree produced byACLParser.permissionString()
.void
Enter a parse tree produced byACLParser.ruleCondition()
.void
Enter a parse tree produced byACLParser.section()
.void
Enter a parse tree produced byACLParser.selector()
.void
Enter a parse tree produced byACLParser.subject()
.void
Enter a parse tree produced byACLParser.subquery()
.void
Exit a parse tree produced byACLParser.acl()
.void
Exit a parse tree produced byACLParser.aclPart()
.void
Exit a parse tree produced byACLParser.aclRule()
.void
Exit a parse tree produced byACLParser.and()
.void
Exit a parse tree produced byACLParser.argument()
.void
Exit a parse tree produced byACLParser.authority()
.void
Exit a parse tree produced byACLParser.condition()
.void
Exit a parse tree produced byACLParser.factor()
.void
Exit a parse tree produced byACLParser.include()
.void
Exit a parse tree produced byACLParser.literal()
.void
Exit a parse tree produced byACLParser.not()
.void
Exit a parse tree produced byACLParser.or()
.void
Exit a parse tree produced byACLParser.paren()
.void
Exit a parse tree produced byACLParser.path()
.void
Exit a parse tree produced byACLParser.permission()
.void
Exit a parse tree produced byACLParser.permissionString()
.void
Exit a parse tree produced byACLParser.ruleCondition()
.void
Exit a parse tree produced byACLParser.section()
.void
Exit a parse tree produced byACLParser.selector()
.void
Exit a parse tree produced byACLParser.subject()
.void
Exit a parse tree produced byACLParser.subquery()
.Methods inherited from class ch.tocco.nice2.conditionals.api.parser.util.ConditionalParseTreeListener
decodeStringLiteral, endLocation, enterEveryRule, exitEveryRule, floatLiteralNode, genericLiteralNode, getTypeManager, identifierNode, identifierNode, install, intLiteralNode, peekSource, pinpoint, pinpoint, problem, pushSource, startLocation, stringLiteralNode, tree, tree, unescape, unescape, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeListener
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
-
Constructor Details
-
AclTreeBuilder
-
AclTreeBuilder
-
-
Method Details
-
exitAcl
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.acl()
.- Specified by:
exitAcl
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitPermissionString
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.permissionString()
.- Specified by:
exitPermissionString
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitAclPart
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.aclPart()
.- Specified by:
exitAclPart
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitSection
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.section()
.- Specified by:
exitSection
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitSelector
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.selector()
.- Specified by:
exitSelector
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitInclude
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.include()
.- Specified by:
exitInclude
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitAclRule
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.aclRule()
.- Specified by:
exitAclRule
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitPermission
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.permission()
.- Specified by:
exitPermission
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitSubject
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.subject()
.- Specified by:
exitSubject
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitAuthority
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.authority()
.- Specified by:
exitAuthority
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitArgument
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.argument()
.- Specified by:
exitArgument
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitRuleCondition
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.ruleCondition()
.- Specified by:
exitRuleCondition
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitOr
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.or()
.- Specified by:
exitOr
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitAnd
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.and()
.- Specified by:
exitAnd
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitNot
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.not()
.- Specified by:
exitNot
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitParen
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.paren()
.- Specified by:
exitParen
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitCondition
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.condition()
.- Specified by:
exitCondition
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitFactor
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.factor()
.- Specified by:
exitFactor
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitPath
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.path()
.- Specified by:
exitPath
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitSubquery
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.subquery()
.- Specified by:
exitSubquery
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
exitLiteral
Description copied from interface:ACLListener
Exit a parse tree produced byACLParser.literal()
.- Specified by:
exitLiteral
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterSelector
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.selector()
.- Specified by:
enterSelector
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterArgument
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.argument()
.- Specified by:
enterArgument
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterCondition
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.condition()
.- Specified by:
enterCondition
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterAcl
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.acl()
.- Specified by:
enterAcl
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterRuleCondition
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.ruleCondition()
.- Specified by:
enterRuleCondition
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterOr
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.or()
.- Specified by:
enterOr
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterSubject
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.subject()
.- Specified by:
enterSubject
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterAclRule
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.aclRule()
.- Specified by:
enterAclRule
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterPermission
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.permission()
.- Specified by:
enterPermission
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterFactor
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.factor()
.- Specified by:
enterFactor
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterSection
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.section()
.- Specified by:
enterSection
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterSubquery
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.subquery()
.- Specified by:
enterSubquery
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterAnd
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.and()
.- Specified by:
enterAnd
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterInclude
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.include()
.- Specified by:
enterInclude
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterNot
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.not()
.- Specified by:
enterNot
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterAuthority
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.authority()
.- Specified by:
enterAuthority
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterPermissionString
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.permissionString()
.- Specified by:
enterPermissionString
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterPath
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.path()
.- Specified by:
enterPath
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterParen
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.paren()
.- Specified by:
enterParen
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterLiteral
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.literal()
.- Specified by:
enterLiteral
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-
enterAclPart
Description copied from interface:ACLListener
Enter a parse tree produced byACLParser.aclPart()
.- Specified by:
enterAclPart
in interfaceACLListener
- Parameters:
ctx
- the parse tree
-