MCPcopy 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_expressionFunction · 0.80
parse_prim_expressionFunction · 0.80
parse_patternFunction · 0.80
at_tsMethod · 0.80

Calls 1

nthMethod · 0.80

Tested by

no test coverage detected