Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlenVelocity/MeowScript
/ current_token
Method
current_token
src/parser.rs:589–591 ·
view source on GitHub ↗
(&self, t: Token)
Source
from the content-addressed store, hash-verified
587
}
588
589
fn current_token(&self, t: Token) -> bool {
590
self.current_token == t
591
}
592
593
fn expect_peek(&mut self, t: Token) -> bool {
594
if let Token::Ident(..) = t {
Callers
7
parse_set_statement
Method · 0.80
parse_return_statement
Method · 0.80
parse_include_statement
Method · 0.80
parse_block_statement
Method · 0.80
parse_anew_expr
Method · 0.80
parse_break_statement
Method · 0.80
parse_continue_statement
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected