==================
Simple const
==================

const MAX = 100;

---

(source_file
  (const_item
    name: (identifier)
    value: (integer_literal)))

==================
Const with string value
==================

const NAME = "rune";

---

(source_file
  (const_item
    name: (identifier)
    value: (string_literal
      (string_content))))

==================
Const with expression
==================

const MASK = 0xff;

---

(source_file
  (const_item
    name: (identifier)
    value: (integer_literal)))

==================
Pub const
==================

pub const VERSION = 1;

---

(source_file
  (const_item
    (visibility_modifier)
    name: (identifier)
    value: (integer_literal)))

==================
Const with boolean
==================

const DEBUG = false;

---

(source_file
  (const_item
    name: (identifier)
    value: (boolean_literal)))

==================
Const in module
==================

mod config {
    const TIMEOUT = 30;
}

---

(source_file
  (mod_item
    name: (identifier)
    body: (declaration_list
      (const_item
        name: (identifier)
        value: (integer_literal)))))
