|
|
|
@ -109,7 +109,7 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
|
|
// Matches any of the operator names:
|
|
|
|
|
// <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
|
|
|
|
|
operator:
|
|
|
|
|
/-[->]?|!={0,2}|\*|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
|
|
|
|
/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
|
|
|
|
|
|
|
|
|
// See https://hexdocs.pm/elixir/syntax-reference.html#variables
|
|
|
|
|
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
|
|
|
|