Method: AuthorizationNext::Base::RecursiveDescentParser#parse_not
- Defined in:
- lib/authorization_next/publishare/parser.rb
#parse_not(str) ⇒ Object
140 141 142 143 144 145 146 |
# File 'lib/authorization_next/publishare/parser.rb', line 140 def parse_not( str ) if str =~ NOT_REGEX can_parse = parse_expr( $1 ) @stack.push( !@stack.pop ) if can_parse end false end |