Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LanguageC = Syntax{ Keywords: []string{ "#define", "#include", "NULL", "auto", "break", "case", "char", "const", "continue", "default", "do", "double", "else", "enum", "extern", "float", "for", "goto", "if", "int", "long", "register", "return", "short", "signed", "sizeof", "static", "struct", "switch", "typedef", "union", "unsigned", "void", "volatile", "while", }, Patterns: Patterns{ SingleLineCommentStart: "//", MultiLineCommentStart: "/*", MultiLineCommentEnd: "*/", }, }
LanguageC defines the syntax of the C language.
View Source
var LanguageGo = Syntax{ Keywords: []string{ "append", "bool", "break", "byte", "cap", "case", "chan", "close", "complex", "complex128", "complex64", "const", "continue", "copy", "default", "defer", "delete", "else", "error", "fallthrough", "false", "float32", "float64", "for", "func", "go", "goto", "if", "imag", "import", "int", "int16", "int32", "int64", "int8", "interface", "len", "make", "map", "new", "nil", "package", "panic", "range", "real", "recover", "return", "rune", "select", "string", "struct", "switch", "true", "type", "uint", "uint16", "uint32", "uint64", "uint8", "uintptr", "var", }, Patterns: Patterns{ SingleLineCommentStart: "//", MultiLineCommentStart: "/*", MultiLineCommentEnd: "*/", }, }
LanguageGo defines the syntax of the Go language.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.