diff options
Diffstat (limited to 'support/xcode/Specifications')
-rw-r--r-- | support/xcode/Specifications/Scala.pbfilespec | 16 | ||||
-rw-r--r-- | support/xcode/Specifications/Scala.pblangspec | 107 |
2 files changed, 123 insertions, 0 deletions
diff --git a/support/xcode/Specifications/Scala.pbfilespec b/support/xcode/Specifications/Scala.pbfilespec new file mode 100644 index 0000000000..e7739bfc62 --- /dev/null +++ b/support/xcode/Specifications/Scala.pbfilespec @@ -0,0 +1,16 @@ +/** + Scala source file specs. + 23rd of July 2005 - Pascal Perez (plperez@stanford.edu) +*/ + +( + { + Identifier = sourcecode.scala; + BasedOn = sourcecode; + Name = "Scala Files"; + Extensions = (scala); + MIMETypes = ("text/scala"); + ComputerLanguage = scala; + IsTextFile = YES; + } +)
\ No newline at end of file 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", + "-", + ":", + "=", + "=>", + "<-", + "<:", + ">:", + "#", + "@" + ); + }; + }, +) + |