class Safrano::Filter::Parser::Error

Parser errors

Constants

HTTP_CODE

Attributes

cur_typ[R]
cur_val[R]
tok[R]
typ[R]

Public Class Methods

http_code() click to toggle source
# File lib/odata/filter/error.rb, line 19
def Error.http_code
  const_get(:HTTP_CODE)
end
new(tok, typ, cur) click to toggle source
# File lib/odata/filter/error.rb, line 29
def initialize(tok, typ, cur)
  @tok = tok
  @typ = typ
  return unless cur

  @cur_val = cur.value
  @cur_typ = cur.class
end