Sha256: 5081db5a72ef1ac110d7983f3ed54b7fc34e43926f0e8f7d73e9c7adb0e5d289

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

# Authoreyes::Parser
require 'authoreyes/parser/priveleges_reader'
require 'authoreyes/parser/authorization_rules_parser'
require 'authoreyes/parser/dsl_parser'
require 'authoreyes/authorization'

module Authoreyes
  # Parses an authorization configuration file in the authorization DSL and
  # constructs a data model of its contents.
  module Parser
    # Signals that the specified file to load was not found.
    class DSLFileNotFoundError < RuntimeError; end
    # Signals errors that occur while reading and parsing an authorization DSL
    class DSLError < RuntimeError; end
    # Signals errors in the syntax of an authorization DSL.
    class DSLSyntaxError < DSLError; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authoreyes-0.2.4 lib/authoreyes/parser.rb
authoreyes-0.2.3 lib/authoreyes/parser.rb
authoreyes-0.2.2 lib/authoreyes/parser.rb