class

Dragonstone::Lexer

Inherits Reference < Object

Constants

KEYWORDS = ["echo", "eecho", "puts", "argv", "argc", "argf", "stdin", "stdout", "stderr", "if", "else", "elsif", "elseif", "end", "while", "do", "def", "define", "fun", "function", "abstract", "abs", "module", "mod", "class", "cls", "return", "quit", "true", "false", "nil", "typeof", "con", "var", "let", "fix", "unless", "case", "when", "select", "break", "next", "begin", "rescue", "ensure", "raise", "abort", "redo", "retry", "use", "from", "as", "public", "private", "protected", "getter", "setter", "bag", "property", "enum", "struct", "record", "alias", "extend", "with", "yield", "super"] of ::String

Constructors

new(source : String, source_name : String = "<source>")
Source

Instance methods

source_name
Source
tokenize
Source