2009-11-30 20:24:32 -07:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
{
|
|
|
|
BBEditDocumentType = "CodelessLanguageModule";
|
|
|
|
BBLMColorsSyntax = YES;
|
|
|
|
BBLMIsCaseSensitive = YES;
|
|
|
|
BBLMKeywordList = (
|
2010-10-30 05:15:59 -06:00
|
|
|
append,
|
2010-02-23 14:50:46 -07:00
|
|
|
bool,
|
2009-11-30 20:24:32 -07:00
|
|
|
break,
|
2010-02-23 14:50:46 -07:00
|
|
|
byte,
|
|
|
|
cap,
|
2009-11-30 20:24:32 -07:00
|
|
|
case,
|
|
|
|
chan,
|
2010-10-30 05:15:59 -06:00
|
|
|
close,
|
|
|
|
complex,
|
|
|
|
complex128,
|
|
|
|
complex64,
|
2009-11-30 20:24:32 -07:00
|
|
|
const,
|
|
|
|
continue,
|
2010-10-30 05:15:59 -06:00
|
|
|
copy,
|
2009-11-30 20:24:32 -07:00
|
|
|
default,
|
|
|
|
defer,
|
|
|
|
else,
|
2011-11-14 12:18:00 -07:00
|
|
|
error,
|
2009-11-30 20:24:32 -07:00
|
|
|
fallthrough,
|
2010-02-23 14:50:46 -07:00
|
|
|
false,
|
|
|
|
float32,
|
|
|
|
float64,
|
2009-11-30 20:24:32 -07:00
|
|
|
for,
|
|
|
|
func,
|
|
|
|
go,
|
|
|
|
goto,
|
|
|
|
if,
|
2010-02-23 14:50:46 -07:00
|
|
|
iota,
|
2010-03-16 14:26:34 -06:00
|
|
|
imag,
|
2009-11-30 20:24:32 -07:00
|
|
|
import,
|
2010-02-23 14:50:46 -07:00
|
|
|
int,
|
|
|
|
int16,
|
|
|
|
int32,
|
|
|
|
int64,
|
|
|
|
int8,
|
|
|
|
interface,
|
|
|
|
len,
|
|
|
|
make,
|
2009-11-30 20:24:32 -07:00
|
|
|
map,
|
2010-02-23 14:50:46 -07:00
|
|
|
new,
|
|
|
|
nil,
|
2009-11-30 20:24:32 -07:00
|
|
|
package,
|
2010-10-30 05:15:59 -06:00
|
|
|
panic,
|
|
|
|
print,
|
|
|
|
println,
|
2009-11-30 20:24:32 -07:00
|
|
|
range,
|
2010-03-16 14:26:34 -06:00
|
|
|
real,
|
2010-10-30 05:15:59 -06:00
|
|
|
recover,
|
2009-11-30 20:24:32 -07:00
|
|
|
return,
|
2011-11-14 12:18:00 -07:00
|
|
|
rune,
|
2009-11-30 20:24:32 -07:00
|
|
|
select,
|
2010-02-23 14:50:46 -07:00
|
|
|
string,
|
2009-11-30 20:24:32 -07:00
|
|
|
struct,
|
|
|
|
switch,
|
2010-02-23 14:50:46 -07:00
|
|
|
true,
|
2009-11-30 20:24:32 -07:00
|
|
|
type,
|
2010-02-23 14:50:46 -07:00
|
|
|
uint,
|
|
|
|
uint16,
|
|
|
|
uint32,
|
|
|
|
uint64,
|
|
|
|
uint8,
|
|
|
|
uintptr,
|
2009-11-30 20:24:32 -07:00
|
|
|
var,
|
|
|
|
);
|
|
|
|
BBLMLanguageCode = go;
|
|
|
|
"BBLMLanguageDisplayName" = "Go";
|
|
|
|
BBLMScansFunctions = YES;
|
|
|
|
BBLMSuffixMap = (
|
|
|
|
{
|
|
|
|
BBLMLanguageSuffix = ".go";
|
|
|
|
},
|
|
|
|
);
|
|
|
|
"Language Features" = {
|
|
|
|
"Close Block Comments" = "*/";
|
|
|
|
"Close Parameter Lists" = ")";
|
|
|
|
"Close Statement Blocks" = "}";
|
|
|
|
"Close Strings 1" = "`";
|
|
|
|
"Close Strings 2" = "\"";
|
|
|
|
"End-of-line Ends Strings 1" = YES;
|
|
|
|
"End-of-line Ends Strings 2" = YES;
|
|
|
|
"Escape Char in Strings 1" = "\\";
|
|
|
|
"Escape Char in Strings 2" = "\\";
|
|
|
|
"Identifier and Keyword Characters" = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";
|
|
|
|
"Open Block Comments" = "/*";
|
|
|
|
"Open Line Comments" = "//";
|
|
|
|
"Open Parameter Lists" = "(";
|
|
|
|
"Open Statement Blocks" = "{";
|
|
|
|
"Open Strings 1" = "`";
|
|
|
|
"Open Strings 2" = "\"";
|
|
|
|
"Prefix for Functions" = "func";
|
2011-03-22 23:29:40 -06:00
|
|
|
"Prefix for Procedures" = "func";
|
2009-11-30 20:24:32 -07:00
|
|
|
"Terminator for Prototypes 1" = ";";
|
|
|
|
"Terminator for Prototypes 2" = "";
|
|
|
|
};
|
|
|
|
}
|