use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
Aggregates: First, Second with Third
|
||||
Redirects: First => Second, Third => Fourth
|
||||
Jolie: "logger.ol" in LoggerService
|
||||
log@LoggerService( new )();
|
||||
println @ Console( "none" )()
|
||||
----------------------------------------------------
|
||||
[
|
||||
[ "keyword", "Aggregates" ],
|
||||
[ "operator", ":" ],
|
||||
[ "aggregates", [
|
||||
[ "function", "First" ], [ "punctuation", ","],
|
||||
[ "function", "Second" ],
|
||||
[ "withExtension", [
|
||||
[ "keyword", "with" ], " Third" ]
|
||||
]
|
||||
]
|
||||
],
|
||||
[ "keyword", "Redirects" ],
|
||||
[ "operator", ":" ],
|
||||
[ "redirects",
|
||||
[
|
||||
[ "function", "First" ],
|
||||
[ "symbol", "=>" ],
|
||||
[ "function", "Second" ], [ "punctuation", ","],
|
||||
[ "function", "Third" ],
|
||||
[ "symbol", "=>" ],
|
||||
[ "function", "Fourth" ]
|
||||
]
|
||||
],
|
||||
[ "keyword", "Jolie" ],
|
||||
[ "operator", ":" ],
|
||||
[ "string", "\"logger.ol\"" ],
|
||||
[ "keyword", "in" ],
|
||||
[ "function", "LoggerService" ],
|
||||
"\nlog", [ "symbol", "@" ], [ "function", "LoggerService" ],
|
||||
"( ", [ "keyword", "new" ], " )()", [ "symbol", ";" ],
|
||||
"\nprintln ", [ "symbol", "@" ], [ "function", "Console" ],
|
||||
"( ", [ "string", "\"none\"" ], " )()"
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for outputPorts and Aggregates and Redirect constructs.
|
@ -0,0 +1,129 @@
|
||||
include
|
||||
define
|
||||
is_defined
|
||||
undef
|
||||
main
|
||||
init
|
||||
outputPort ;
|
||||
inputPort ;
|
||||
Location
|
||||
Protocol
|
||||
Interfaces
|
||||
RequestResponse
|
||||
OneWay
|
||||
type
|
||||
interface
|
||||
extender
|
||||
throws
|
||||
cset
|
||||
csets
|
||||
forward
|
||||
courier ;
|
||||
Aggregates
|
||||
Redirects
|
||||
embedded
|
||||
extender
|
||||
execution
|
||||
sequential
|
||||
concurrent
|
||||
single
|
||||
scope
|
||||
install
|
||||
throw
|
||||
comp
|
||||
cH
|
||||
default
|
||||
global
|
||||
linkIn
|
||||
linkOut
|
||||
synchronized
|
||||
this
|
||||
new
|
||||
for
|
||||
if
|
||||
else
|
||||
while
|
||||
in ;
|
||||
Jolie
|
||||
Java
|
||||
Javascript
|
||||
nullProcess
|
||||
spawn
|
||||
constants
|
||||
with
|
||||
provide
|
||||
until
|
||||
exit
|
||||
foreach
|
||||
instanceof
|
||||
over
|
||||
service
|
||||
|
||||
----------------------------------------------------
|
||||
[
|
||||
["keyword", "include" ],
|
||||
["keyword", "define" ],
|
||||
["keyword", "is_defined" ],
|
||||
["keyword", "undef" ],
|
||||
["keyword", "main" ],
|
||||
["keyword", "init" ],
|
||||
["keyword", "outputPort" ], [ "symbol", ";" ],
|
||||
["keyword", "inputPort" ], [ "symbol", ";" ],
|
||||
["keyword", "Location" ],
|
||||
["keyword", "Protocol" ],
|
||||
["keyword", "Interfaces" ],
|
||||
["keyword", "RequestResponse" ],
|
||||
["keyword", "OneWay" ],
|
||||
["keyword", "type" ],
|
||||
["keyword", "interface" ],
|
||||
["keyword", "extender" ],
|
||||
["keyword", "throws" ],
|
||||
["keyword", "cset" ],
|
||||
["keyword", "csets" ],
|
||||
["keyword", "forward" ],
|
||||
["keyword", "courier" ], [ "symbol", ";" ],
|
||||
["keyword", "Aggregates" ],
|
||||
["keyword", "Redirects" ],
|
||||
["keyword", "embedded" ],
|
||||
["keyword", "extender" ],
|
||||
["keyword", "execution" ],
|
||||
["keyword", "sequential" ],
|
||||
["keyword", "concurrent" ],
|
||||
["keyword", "single" ],
|
||||
["keyword", "scope" ],
|
||||
["keyword", "install" ],
|
||||
["keyword", "throw" ],
|
||||
["keyword", "comp" ],
|
||||
["keyword", "cH" ],
|
||||
["keyword", "default" ],
|
||||
["keyword", "global" ],
|
||||
["keyword", "linkIn" ],
|
||||
["keyword", "linkOut" ],
|
||||
["keyword", "synchronized" ],
|
||||
["keyword", "this" ],
|
||||
["keyword", "new" ],
|
||||
["keyword", "for" ],
|
||||
["keyword", "if" ],
|
||||
["keyword", "else" ],
|
||||
["keyword", "while" ],
|
||||
["keyword", "in" ], [ "symbol", ";" ],
|
||||
["keyword", "Jolie" ],
|
||||
["keyword", "Java" ],
|
||||
["keyword", "Javascript" ],
|
||||
["keyword", "nullProcess" ],
|
||||
["keyword", "spawn" ],
|
||||
["keyword", "constants" ],
|
||||
["keyword", "with" ],
|
||||
["keyword", "provide" ],
|
||||
["keyword", "until" ],
|
||||
["keyword", "exit" ],
|
||||
["keyword", "foreach" ],
|
||||
["keyword", "instanceof" ],
|
||||
["keyword", "over" ],
|
||||
["keyword", "service" ]
|
||||
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
@ -0,0 +1,19 @@
|
||||
42
|
||||
42L
|
||||
1.2e3
|
||||
0.1E-4
|
||||
0.2e+1
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42" ],
|
||||
["number", "42L" ],
|
||||
["number", "1.2e3" ],
|
||||
["number", "0.1E-4" ],
|
||||
["number", "0.2e+1" ]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for decimal numbers.
|
@ -0,0 +1,42 @@
|
||||
+ ++ +=
|
||||
- -- -=
|
||||
! !=
|
||||
< <= > >= -> <<
|
||||
= ==
|
||||
&&
|
||||
? * / % ; : | @
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "+"],
|
||||
["operator", "++"],
|
||||
["operator", "+="],
|
||||
["operator", "-"],
|
||||
["operator", "--"],
|
||||
["operator", "-="],
|
||||
["operator", "!"],
|
||||
["operator", "!="],
|
||||
["operator", "<" ],
|
||||
["operator", "<=" ],
|
||||
["operator", ">" ],
|
||||
["operator", ">=" ],
|
||||
["operator", "->" ],
|
||||
["operator", "<<" ],
|
||||
["operator", "=" ],
|
||||
["operator", "==" ],
|
||||
["operator", "&&" ],
|
||||
[ "operator", "?" ],
|
||||
[ "operator", "*" ],
|
||||
[ "operator", "/" ],
|
||||
[ "operator", "%" ],
|
||||
[ "symbol", ";" ],
|
||||
[ "operator", ":" ],
|
||||
[ "symbol", "|" ],
|
||||
[ "symbol", "@" ]
|
||||
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators and symbols.
|
Reference in New Issue
Block a user