Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemirror/google-modes
/ functions
Functions
141 in github.com/codemirror/google-modes
⨍
Functions
141
◇
Types & classes
38
↓ 12 callers
Method
current
* Returns the string value of the currently matched token. * * Can be called during tokenizing, in which case it returns what's been * consum
src/template_string_inline_language.js:394
↓ 9 callers
Function
markLocals
(type, scopes, stream, state)
src/locals.js:18
↓ 6 callers
Function
indent
(state, textAfter, line, config)
src/c_indent.js:100
↓ 5 callers
Method
isEscaped
* Walks backwards from the given position in the stream looking for * backslashes. Returns true if there are an odd number, and so the given * p
src/template_string_inline_language.js:275
↓ 4 callers
Method
backUp
* Unconsumes `n` characters of input from the current token. * * @param {number} n
src/template_string_inline_language.js:401
↓ 4 callers
Function
report
(err error)
test/go/indent.go:55
↓ 3 callers
Function
cxTagName
(cx)
src/html_util.js:6
↓ 3 callers
Function
hasSubStatement
(context)
src/c_indent.js:3
↓ 3 callers
Function
markTypeLocals
(type, scopes, stream, state)
src/locals.js:35
↓ 3 callers
Function
processFile
If in == nil, the source is the contents of the file with the given filename.
test/go/indent.go:79
↓ 2 callers
Method
bar
( )
test/js/indent.js:106
↓ 2 callers
Method
bar
()
test/java/indent.java:166
↓ 2 callers
Function
baseIndent
(cx, config)
src/c_indent.js:35
↓ 2 callers
Function
contextInfo
(proto)
src/html_util.js:38
↓ 2 callers
Function
countIndent
(line, pos)
src/python.js:13
↓ 2 callers
Function
countIndent
(line, pos)
src/clif.js:16
↓ 2 callers
Function
findSingle
(str, pos, ch)
test/parse_spec.js:1
↓ 2 callers
Function
foo
( a: int, b: int)
test/py/indent.py:57
↓ 2 callers
Function
getScope
(context, scopes)
src/locals.js:1
↓ 2 callers
Function
indent
(state, textAfter, line, config)
src/html_util.js:22
↓ 2 callers
Method
interceptTokenizing
* Defer to the embedded language tokenizer, but interrupt it for inline * exprssions and the end of the template literal. * * This MUST only
src/template_string_inline_language.js:110
↓ 2 callers
Method
match
* Tries to consume text matching the given value. Returns true if successful. * * @param {string|RegExp} v * @return {boolean}
src/template_string_inline_language.js:409
↓ 2 callers
Method
shouldInterceptTokenizing
* If true, the containing tokenizer should defer to `interceptTokenizing`. * * @param {!State} state
src/template_string_inline_language.js:82
↓ 2 callers
Function
statementIndent
(cx, config)
src/c_indent.js:92
↓ 2 callers
Function
tagName
(str)
src/html_util.js:1
↓ 2 callers
Method
trackState
* Called after the containing tokenizer has consumed a token, but before * that consumption is finalized. * * We keep track of entering and e
src/template_string_inline_language.js:150
↓ 2 callers
Function
writeTempFile
(dir, prefix string, data []byte)
test/go/indent.go:232
↓ 1 callers
Function
aligned
(cx)
src/c_indent.js:17
↓ 1 callers
Function
aligned
(cx)
src/python.js:35
↓ 1 callers
Function
aligned
(cx)
src/clif.js:32
↓ 1 callers
Function
backupFile
backupFile writes data to a new file named filename<number> with permissions perm, with <number randomly chosen such that the file name is unique. bac
test/go/indent.go:309
↓ 1 callers
Method
backupIfEmbeddedTokenizerOvershot
* Inside of an inline template, we've let the embedded language tokenizer * consume a token. However, it can't be allowed to consume text that actu
src/template_string_inline_language.js:242
↓ 1 callers
Function
compare
(text, tokens, mode, open)
test/run.js:60
↓ 1 callers
Method
copy
()
src/template_string_inline_language.js:340
↓ 1 callers
Method
copyState
* @param {!State} state * @return {!State}
src/template_string_inline_language.js:73
↓ 1 callers
Function
diff
(b1, b2 []byte, filename string)
test/go/indent.go:248
↓ 1 callers
Function
findIndent
(cx, textAfter, config)
src/c_indent.js:46
↓ 1 callers
Function
findIndent
(cx, textAfter, curLine, config)
src/python.js:45
↓ 1 callers
Function
findIndent
(cx, textAfter, curLine, config)
src/clif.js:42
↓ 1 callers
Function
findIndent
(cx, textAfter, config)
src/go.js:26
↓ 1 callers
Method
getModeForTemplateTag
* @private * @param {string|null} templateTag
src/template_string_inline_language.js:292
↓ 1 callers
Function
gofmtMain
()
test/go/indent.go:186
↓ 1 callers
Method
indent
(state, textAfter, line)
src/c.js:19
↓ 1 callers
Function
initParserMode
()
test/go/indent.go:65
↓ 1 callers
Function
isGoFile
(f os.FileInfo)
test/go/indent.go:72
↓ 1 callers
Function
isLabel
(text)
src/c_indent.js:13
↓ 1 callers
Function
isLocal
(context, name)
src/locals.js:5
↓ 1 callers
Function
isLocalType
(context, name)
src/locals.js:10
↓ 1 callers
Function
isSwitch
(context)
src/c_indent.js:8
↓ 1 callers
Function
parseTestSpec
(file, fileName)
test/run.js:49
↓ 1 callers
Method
peek
* Returns the next unconsumed character. * * @return {string}
src/template_string_inline_language.js:416
↓ 1 callers
Function
pythonMarkLocals
(token, stream, state)
src/python.js:68
↓ 1 callers
Function
replaceTempFilename
replaceTempFilename replaces temporary filenames in diff with actual one. --- /tmp/gofmt316145376 2017-02-03 19:13:00.280468375 -0500 +++ /tmp/gofmt6
test/go/indent.go:284
↓ 1 callers
Method
startState
@return {!State}
src/template_string_inline_language.js:65
↓ 1 callers
Method
token
(stream, state)
src/c.js:15
↓ 1 callers
Method
trackStateInTemplate
* Maintain state.templateStack while in the contents of a template literal. * * @private * @param {string} style * @param {!Stream} stream
src/template_string_inline_language.js:216
↓ 1 callers
Method
trackStateNotInTemplate
* Maintain state.templateStack while not directly inside of a template * literal. * * We could be inside of an inline expression in a templat
src/template_string_inline_language.js:179
↓ 1 callers
Function
walkDir
(path string)
test/go/indent.go:174
Method
M
test/cpp/indent.cpp:52
Method
Meth
test/cpp/indent.cpp:37
Method
MyClass
test/cpp/indent.cpp:107
Function
[comment // vector compatibility methods] [type unsigned] [def&property size]() [keyword const] { [keyword return] [variable ValuePtrs].[property&callee size](); } [type void] [def&property resize]
test/cpp/class.cpp:13
Function
[def Foo]() : [callee&property t_]
test/cpp/ctor_dtor.cpp:11
Function
[def&property foo]
([def&local args])
test/js/async_object_function.js:1
Function
[keyword virtual] [def ~Foo]
test/cpp/ctor_dtor.cpp:9
Function
[meta TEST]
test/cpp/macro.cpp:1
Method
[qualified&def B]
test/cpp/grammar.cpp:76
Method
[qualified&def Y]
test/cpp/grammar.cpp:1
Method
[qualified&variable NotOK]: [keyword return] [string "NOT OK"]; } [keyword if]
test/cpp/grammar.cpp:98
Function
[type Foo] [keyword operator][operator +]
test/cpp/class.cpp:18
Function
[type void] [def&property push_back]
test/cpp/class.cpp:16
Method
[type&qualified pair]<[type Constant]*, [type unsigned]> > [def&property ResolveConstantsTy]; [type ResolveConstantsTy] [def&property ResolveConstants]; [type LLVMContext] &[def&property Context]; [keyword public]: [def BitcodeReaderValueList]([type LLVMContext] &[def&local C]) : [callee&property Context]([variable-2 C]) {} [def ~BitcodeReaderValueList]
test/cpp/class.cpp:1
Method
[type&qualified pair]<[type int32], [type double]> & [def&local a]) [keyword override]; [type void] [def&property foo]() [operator =] [keyword delete]; }; [type int] [def emit]
test/cpp/grammar.cpp:18
Method
[type&qualified type] [def Foo]
test/cpp/grammar.cpp:50
Method
bar
( )
test/java/indent.java:8
Function
canInsertSemi
(string, pos)
src/js_semi.js:1
Method
constructor
(conf)
src/java.js:11
Method
constructor
(conf, modeConf)
src/flatbuffers.js:8
Method
constructor
(conf)
src/python.js:80
Method
constructor
(conf)
src/c.js:10
Method
constructor
(config)
src/template_string_inline_language.js:60
Method
constructor
(templateStack = [], previousVariable = null)
src/template_string_inline_language.js:315
Method
constructor
* @param {string} kind * @param {?CodeMirror.Mode} mode * @param {?} state
src/template_string_inline_language.js:357
Method
constructor
()
src/template_string_inline_language.js:419
Method
constructor
(conf, modeConf)
src/typescript.js:12
Method
constructor
(conf, modeConf)
src/javascript.js:12
Method
constructor
(conf)
src/clif.js:68
Method
constructor
(conf, modeConf)
src/angulartemplate.js:7
Method
constructor
(conf)
src/cpp.js:39
Method
constructor
(conf, modeConf)
src/kotlin.js:11
Method
constructor
(conf)
src/go.js:43
Method
constructor
(conf, modeConf)
src/html.js:7
Function
constructorAhead
(line, pos, _cx, nextLines)
src/cpp.js:7
Method
copy
()
src/template_string_inline_language.js:369
Method
copyState
(state)
src/typescript.js:28
Method
copyState
(state)
src/javascript.js:28
Method
currentTemplateState
@return {!TemplateState | undefined}
src/template_string_inline_language.js:346
Function
foo
test/cpp/indent.cpp:62
Method
indent
(state, textAfter, line)
src/java.js:21
Method
indent
* Simple indent function: Indent 1 level for each open context (i.e. open * curly or square bracket) * * @param state the state object at the
src/flatbuffers.js:30
next →
1–100 of 141, ranked by callers