Fuel plugin to deploy Sensu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

literal.rb 288B

1234567891011121314151617181920
  1. module Dentaku
  2. module AST
  3. class Literal < Node
  4. attr_reader :type
  5. def initialize(token)
  6. @value = token.value
  7. @type = token.category
  8. end
  9. def value(*)
  10. @value
  11. end
  12. def dependencies(*)
  13. []
  14. end
  15. end
  16. end
  17. end