Class Rouge::Lexers::Julia
In: lib/rouge/lexers/julia.rb
Parent: RegexLexer

Methods

Constants

BUILTINS = /\b(?: applicable | assert | convert | dlopen | dlsym | edit | eps | error | exit | finalizer | hash | im | Inf | invoke | is | isa | isequal | load | method_exists | Nan | new | ntuple | pi | promote | promote_type | realmax | realmin | sizeof | subtype | system | throw | tuple | typemax | typemin | typeof | uid | whos )\b/x
KEYWORDS = /\b(?: function | return | module | import | export | if | else | elseif | end | for | in | while | try | catch | super | const )\b/x
TYPES = /\b(?: Int | UInt | Int8 | UInt8 | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Int128 | UInt128 | Float16 | Float32 | Float64 | Bool | Inf | Inf16 | Inf32 | NaN | NaN16 | NaN32 | BigInt | BigFloat | Char | ASCIIString | UTF8String | UTF16String | UTF32String | AbstractString | WString | String | Regex | RegexMatch | Complex64 | Complex128 | Any | Nothing | None )\b/x
OPERATORS = / \+ | = | - | \* | \/ | \\ | & | \| | \$ | ~ | \^ | % | ! | >>> | >> | << | && | \|\| | \+= | -= | \*= | \/= | \\= | ÷= | %= | \^= | &= | \|= | \$= | >>>= | >>= | <<= | == | != | ≠ | <= | ≤ | >= | ≥ | \. | :: | <: | -> | \? | \.\* | \.\^ | \.\\ | \.\/ | \\ | < | > /x
PUNCTUATION = / [ \[ \] { } : \( \) , ; @ ] /x

Public Class methods

[Validate]