1
|
/**
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",
"-",
":",
"=",
"=>",
"<-",
"<:",
">:",
"#",
"@"
);
};
},
)
|