module Bindgen::Crystal

Overview

Functionality specific to the Crystal language. Used by processors and generators.

Defined in:

bindgen/crystal.cr
bindgen/crystal/argument.cr
bindgen/crystal/format.cr
bindgen/crystal/method.cr
bindgen/crystal/pass.cr
bindgen/crystal/type.cr
bindgen/crystal/typename.cr

Constant Summary

KEYWORDS = ["def", "if", "else", "elsif", "end", "true", "false", "class", "module", "include", "extend", "while", "until", "nil", "do", "yield", "return", "unless", "next", "break", "begin", "lib", "fun", "struct", "union", "enum", "macro", "out", "require", "case", "when", "select", "then", "of", "abstract", "rescue", "ensure", "is_a?", "alias", "pointerof", "sizeof", "instance_sizeof", "as", "as?", "typeof", "super", "private", "protected", "asm", "uninitialized", "nil?", "in"] of ::String

All Crystal keywords

OPERATORS = ["+", "&+", "-", "&-", "*", "&*", "/", "//", "%", "**", "&**", "==", "!=", "<", "<=", ">", ">=", "<=>", "===", "=~", "!~", "~", "&", "|", "^", "<<", ">>", "[]", "[]?", "[]="] of ::String

All (overridable) Crystal operators