summaryrefslogtreecommitdiff
path: root/support/xcode/Specifications/Scala.pblangspec
blob: b73ca19850c65420d6ef0626bc373e111bdf351c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/**
	Scala language specification.
    23rd of July 2005 - Pascal Perez (plperez@stanford.edu)
*/

(
	{
		Identifier = scala;
		Name = "Scala";
		Description = "Scala";
		BasedOn = "pbx_root_language";
		SourceScannerClassName = PBXJavaSourceScanner;
		SupportsIndentation = YES;
		Indentation = {
		};
        SyntaxColoring = {
            CaseSensitive = YES;
            UnicodeSymbols = YES;
            UnicodeEscapes = YES;		// accept \uXXXX anywhere in a file, and return a single character (not yet supported!)
            IndexedSymbols = YES;
            CommentsCanBeNested = NO;
            IdentifierStartChars = "_";
            IdentifierChars = "_$";
            EscapeCharacter = "\\";
            String = (
                ( "\"", "\"" )
            );
            Character = (
                ( "'", "'" )
            );
            MultiLineComment = (
                ( "/*", "*/" )
            );
            SingleLineComment = ( "//" );
            DocComment = "*";
            DocCommentKeywords = (
                "@author",
                "@beaninfo",
                "@deprecated",
                "@docRoot",
                "@exception",
                "@inheritDoc",
                "@link",
                "@linkplain",
                "@param",
                "@return",
                "@see",
                "@serial",
                "@serialData",
                "@serialField",
                "@since",
                "@throws",
                "@value",
                "@version"
            );
			Keywords = (
				"abstract",
				"case",
				"catch",
				"class",
				"def",
				"do",
				"else",
				"extends",
				"false",
				"final",
				"finally",
				"for",
				"if",
				"implicit",
				"import",
				"match",
				"new",
				"null",
				"object",
				"override",
				"package",
				"private",
				"protected",
				"return",
				"sealed",
				"super",
				"this",
				"throw",
				"trait",
				"try",
				"true",
				"type",
				"val",
				"var",
				"while",
				"with",
				"yield",
				"-",
				":",
				"=",
				"=>",
				"<-",
				"<:",
				">:",
				"#",
				"@"
			);
		}; 
	},
)