This commit is contained in:
root
2019-08-30 19:30:19 +02:00
commit 6f2b105ca0
595 changed files with 78405 additions and 0 deletions

4
langs/objc/constant.txt Normal file
View File

@ -0,0 +1,4 @@
false
true
YES
NO

22
langs/objc/modifier.txt Normal file
View File

@ -0,0 +1,22 @@
strong
weak
__weak
volatile
readonly
readwrite
nonatomic
register
restrict
default
bycopy
oneway
atomic
extern
inline
static
assign
const
inout
byref
out
in

View File

@ -0,0 +1,4 @@
@synchronized
@protected
@private
@public

29
langs/objc/objc.txt Normal file
View File

@ -0,0 +1,29 @@
### OBJECTIVE-C LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Objective-C
VERSION 1.8.1
COMMENT (?default)
PREPROCESSOR (?default)
STRING (@?(?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
NOTATION \<\ ?[a-zA-Z]+\ ?\>
STATEMENT (?alt:statement_at.txt)\b|\b(?alt:statement.txt)\b
RESERVED (?alt:reserved_at.txt)\b|\b(?alt:reserved.txt)\b
TYPE \b(?alt:type.txt)\b|(?-i:\b[A-Z][\w]+)
# |(\b[a-z_]\w+\b\s+(?=\b[a-z_][\w]+\b(?!\s*\:)))
MODIFIER (?alt:modifier_at.txt)\b|\b(?alt:modifier.txt)\b
CONSTANT (?default)|\b(?alt:constant.txt)\b
ENTITY (\b[a-z_]\w*\b(?=\s*\([^\)]*\)))|(\b[a-z_]\w+\b\s+(?=\b[a-z_][\w]+\b(?!\s*\:)))
FUNC:ENTITY \s*(\b\w+\b\s*(?=:[^;]*[\{;])|(?<=\])\s*\w+)
#FUNC:ENTITY
POINTER_TYPE:TYPE (\b[a-z_]\w*\s*(?=\*)|\*(?=\s*\)))
RETURN:TYPE \b\w+\b(?=\s*\)\s*\w+\s*[:;\{])
VARIABLE (?default)|(\*[a-z]\w*)|((?<=\[)[a-z]\w*)|(:\s*([a-z]\w*))|([a-z]\w*)
IDENTIFIER (?<!\))(?default)
OPERATOR (?default)
SYMBOL (?default)

8
langs/objc/reserved.txt Normal file
View File

@ -0,0 +1,8 @@
autorelease
release
typedef
retain
sizeof
alloc
super
self

View File

@ -0,0 +1 @@
@encode

10
langs/objc/statement.txt Normal file
View File

@ -0,0 +1,10 @@
continue
return
switch
break
while
case
else
goto
do
if

View File

@ -0,0 +1,13 @@
@implementation
@synthesize
@interface
@protocol
@selector
@property
@finally
@dynamic
@throw
@catch
@class
@try
@end

22
langs/objc/type.txt Normal file
View File

@ -0,0 +1,22 @@
_Imaginery
Protocol
unsigned
_Complex
double
struct
signed
short
float
_Bool
Class
union
char
long
NULL
BOOL
enum
void
int
nil
SEL
id