Software for the Open Enterprise™

Wiki Toolbox

View of /dotNET Xcode Additions/Specifications/CSharp.pblangspec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.2 - (download) (annotate) (vendor branch)
Sat Jun 11 19:32:23 2005 UTC (4 years, 5 months ago) by shinryu
Branch: MAIN, shinryu
CVS Tags: dotnetxcadds, HEAD
Changes since 1.1.1.1: +1 -1 lines
more commentary (helpful)
(
    {
        Identifier = c.cs;
        Name = "C#";
        BasedOn = "pbx_root_language";
        SupportsIndentation = YES;
        Indentation = {
        };
        SyntaxColoring = {
            CaseSensitive = YES;
            UnicodeSymbols = NO;
            IndexedSymbols = YES;
            CommentsCanBeNested = NO;
            IdentifierStartChars = "_";
            IdentifierChars = "_";
            MultiLineComment = (
                ( "/*", "*/" )
            );
            String = (
                ( "\"", "\"" )
            );
            EscapeCharacter = "\\";
            Character = (
                ( "'", "'" )
            );
            SingleLineComment = (  "//" );
            DocComment = "///";
            DocCommentKeywords = ( // all are XML tags
				// no tag required for interface/class summary
				"c", // single line marked as code
				"code", // multiple lines marked as code
				"example",
				"exception", // <exception cref="...">
				"include", // gets doc comments from another file to be placed in current source, <include file="..." path="...[@name="..."]"
				"list", // <list type="bullet" | "number" | "table">
					"item",
					"listheader",
						"description", // applies to item AND listheader
						"term", // same goes for this
				"para", // paragraph summary
				"param", // <param name='...'>
				"paramref", // indicates a parameter in code comments, <paramref name="...">
				"permission", // indicates an external member in code comments, <permission cref="...">
				"remarks",
				"returns",
				"see", // available member reference in text, <see cref="...">
				"seealso", // available member reference in See Also section <seealso cref="...">
				"summary", // method description, single line
				"value" // field summary
			);
            Keywords = (
				"abstract",
				"as",
				"base", // super class
                "break",
                "case",
				"catch",
				"checked",
                "const",
                "continue",
                "default",
				"delegate", // event prototype ie. public delegate void mouseClicked();
                "do",
                "else",
				"explicit",
				"extern",
				"false",
				"finally",
				"fixed",
                "for",
				"foreach",
				"get",
                "goto",
                "if",
				"implicit",
				"in",
				"internal",
				"is",
				"lock",
				"namespace",
				"new",
				"null",
				"operator",
				"out",
				"override",
				"params",
				"partial",
				"public", 
				"private", 
				"protected",
				"readonly",
				"ref",
				"return",
				"sealed",
				"set",
				"sizeof",
				"stackalloc",
				"static",
                "switch",
				"this",
				"throw",
				"true",
				"try",
				"type",
				"typeof",
				"unchecked",
				"unsafe",
				"using",
				"virtual", // same as in C++, overridable method
				"volatile",
				"where",
                "while",
				"yield"
            );
            AltKeywords = (
				"bool",
				"byte",
				"char",
				"class",
				"decimal",
				"double",
				"enum", // used for arrays ie. public enum seasons { spring, summer, fall, winter }
				"event", // actual event implementation ie. public event mouseClicked onMouseClick();
				"float",
				"function",
				"int",
				"interface",
				"long",
				"object", // object reference, not an actual object
				"sbyte",
				"short",
				"string",
				"struct",
				"uint",
				"ulong",
				"ushort",
				"var",
				"void"
            );
            PreprocessorKeywordStart = "#";
            PreprocessorKeywords = ( 
				"define",
				"elif",
				"else",
				"endif",
				"endregion",
				"error",
				"if",
				"line",
				"pragma", // disable/enable warnings
				"region",
				"undef",
				"warning"
			);
        };
    },

)


Corporate Governance | Legal | Privacy | Subscribe | Feedback | Glossary | RSS | Contact

© 2006 Novell, Inc. All Rights Reserved.