Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltlang/Bolt
/ current
Method
current
crates/boltlang/src/parser/parser.rs:84–86 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
82
}
83
84
pub(crate) fn current(&self) -> SyntaxKind {
85
self.nth(0)
86
}
87
88
pub(crate) fn nth(&self, n: usize) -> SyntaxKind {
89
self.inp.kind(self.pos + n)
Callers
7
parse_literal_expression
Function · 0.80
parse_prim_expression
Function · 0.80
parse_pattern
Function · 0.80
parse_prim_type_expression
Function · 0.80
parse_named_function_declaration
Function · 0.80
parse_variable_declaration
Function · 0.80
at_ts
Method · 0.80
Calls
1
nth
Method · 0.80
Tested by
no test coverage detected