Skip to content

Commit

Permalink
sema: improve documentation of ReferenceStack
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Apr 9, 2024
1 parent 77b91d1 commit 2f2b9c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions std/jule/sema/symbol.jule
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ use std::jule::lex::{Token, TokenId, TokenKind}
use strings for std::strings

// Stack for symbol references.
// It used by Sema to store necessary references.
//
// List of necessary references;
// - &FnIns
// - &StructIns
// - &Trait
// - &Var -> Only global ones.
pub struct ReferenceStack {
buffer: []any
}
Expand Down

0 comments on commit 2f2b9c5

Please sign in to comment.