luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
use luaur_ast::records::parse_result::ParseResult;
use luaur_ast::records::position::Position;

use crate::functions::is_within_hot_comment_module::is_within_hot_comment_vector_hot_comment_position;

pub fn is_within_hot_comment_parse_result_position(result: &ParseResult, pos: Position) -> bool {
    is_within_hot_comment_vector_hot_comment_position(&result.hotcomments, pos)
}