diff options
Diffstat (limited to 'support/xcode/Specifications/Scala.pblangspec')
-rw-r--r-- | support/xcode/Specifications/Scala.pblangspec | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/support/xcode/Specifications/Scala.pblangspec b/support/xcode/Specifications/Scala.pblangspec new file mode 100644 index 0000000000..b73ca19850 --- /dev/null +++ b/support/xcode/Specifications/Scala.pblangspec @@ -0,0 +1,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", + "-", + ":", + "=", + "=>", + "<-", + "<:", + ">:", + "#", + "@" + ); + }; + }, +) + |