fork
This commit is contained in:
19
langs/applescript/applescript.txt
Normal file
19
langs/applescript/applescript.txt
Normal file
@ -0,0 +1,19 @@
|
||||
### APPLESCRIPT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME AppleScript
|
||||
VERSION 1.9.13
|
||||
|
||||
COMMENT ((--|#).*?$)|(\(\*.*?\*\))
|
||||
STRING (".*?")
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
|
||||
CONSTANT (?default)
|
||||
ENTITY \b(?alt:entity.txt)\b
|
||||
|
||||
IDENTIFIER (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
152
langs/applescript/entity.txt
Normal file
152
langs/applescript/entity.txt
Normal file
@ -0,0 +1,152 @@
|
||||
set the clipboard to
|
||||
choose from list
|
||||
do shell script
|
||||
default answer
|
||||
display dialog
|
||||
strikethrough
|
||||
do JavaScript
|
||||
AppleScript
|
||||
choose folder
|
||||
missing value
|
||||
the clipboard
|
||||
diacriticals
|
||||
application
|
||||
punctuation
|
||||
superscript
|
||||
choose file
|
||||
quoted form
|
||||
invisibles
|
||||
delimiters
|
||||
paragraphs
|
||||
POSIX path
|
||||
POSIX file
|
||||
properties
|
||||
duplicate
|
||||
expansion
|
||||
condensed
|
||||
subscript
|
||||
underline
|
||||
wednesday
|
||||
september
|
||||
shut down
|
||||
offset of
|
||||
paragraph
|
||||
receiving
|
||||
selection
|
||||
extension
|
||||
anything
|
||||
expanded
|
||||
thursday
|
||||
saturday
|
||||
february
|
||||
november
|
||||
december
|
||||
contents
|
||||
activate
|
||||
document
|
||||
info for
|
||||
path to
|
||||
integer
|
||||
version
|
||||
hyphens
|
||||
outline
|
||||
weekday
|
||||
tuesday
|
||||
january
|
||||
october
|
||||
minutes
|
||||
folders
|
||||
restart
|
||||
buttons
|
||||
desktop
|
||||
content
|
||||
between
|
||||
against
|
||||
delete
|
||||
exists
|
||||
launch
|
||||
reopen
|
||||
saving
|
||||
number
|
||||
string
|
||||
result
|
||||
hidden
|
||||
italic
|
||||
shadow
|
||||
monday
|
||||
friday
|
||||
sunday
|
||||
august
|
||||
folder
|
||||
window
|
||||
reveal
|
||||
adding
|
||||
bounds
|
||||
close
|
||||
count
|
||||
print
|
||||
alias
|
||||
space
|
||||
plain
|
||||
false
|
||||
month
|
||||
march
|
||||
april
|
||||
quote
|
||||
hours
|
||||
weeks
|
||||
files
|
||||
eject
|
||||
sleep
|
||||
items
|
||||
make
|
||||
move
|
||||
open
|
||||
quit
|
||||
save
|
||||
idle
|
||||
list
|
||||
text
|
||||
case
|
||||
bold
|
||||
true
|
||||
june
|
||||
july
|
||||
name
|
||||
days
|
||||
file
|
||||
disk
|
||||
item
|
||||
beep
|
||||
into
|
||||
onto
|
||||
run
|
||||
tab
|
||||
ask
|
||||
yes
|
||||
mon
|
||||
tue
|
||||
wed
|
||||
thu
|
||||
fri
|
||||
sat
|
||||
sun
|
||||
jan
|
||||
feb
|
||||
mar
|
||||
apr
|
||||
may
|
||||
jun
|
||||
jul
|
||||
aug
|
||||
sep
|
||||
oct
|
||||
nov
|
||||
dec
|
||||
new
|
||||
it
|
||||
me
|
||||
pi
|
||||
no
|
||||
id
|
||||
by
|
43
langs/applescript/reserved.txt
Normal file
43
langs/applescript/reserved.txt
Normal file
@ -0,0 +1,43 @@
|
||||
beginning
|
||||
contains
|
||||
seventh
|
||||
through
|
||||
greater
|
||||
second
|
||||
fourth
|
||||
eighth
|
||||
middle
|
||||
before
|
||||
equals
|
||||
every
|
||||
whose
|
||||
where
|
||||
index
|
||||
first
|
||||
third
|
||||
fifth
|
||||
sixth
|
||||
ninth
|
||||
tenth
|
||||
front
|
||||
named
|
||||
after
|
||||
equal
|
||||
each
|
||||
some
|
||||
last
|
||||
back
|
||||
thru
|
||||
isnt
|
||||
less
|
||||
the
|
||||
div
|
||||
mod
|
||||
and
|
||||
not
|
||||
st
|
||||
nd
|
||||
rd
|
||||
th
|
||||
as
|
||||
or
|
37
langs/applescript/statement.txt
Normal file
37
langs/applescript/statement.txt
Normal file
@ -0,0 +1,37 @@
|
||||
considering
|
||||
transaction
|
||||
property
|
||||
continue
|
||||
ignoring
|
||||
without
|
||||
timeout
|
||||
script
|
||||
global
|
||||
return
|
||||
repeat
|
||||
local
|
||||
given
|
||||
times
|
||||
while
|
||||
until
|
||||
error
|
||||
prop
|
||||
with
|
||||
tell
|
||||
then
|
||||
else
|
||||
from
|
||||
exit
|
||||
copy
|
||||
end
|
||||
set
|
||||
try
|
||||
get
|
||||
put
|
||||
to
|
||||
on
|
||||
of
|
||||
in
|
||||
if
|
||||
my
|
||||
is
|
Reference in New Issue
Block a user