all: #![warn(clippy::all)]
This commit is contained in:
parent
50b473cd55
commit
c665e52782
@ -9,6 +9,7 @@
|
||||
//! - [AssignKind], [BinaryKind], and [UnaryKind] operators
|
||||
//! - [Ty] and [TyKind]: Type qualifiers
|
||||
//! - [Path]: Path expressions
|
||||
#![warn(clippy::all)]
|
||||
#![feature(decl_macro)]
|
||||
|
||||
use cl_structures::span::*;
|
||||
|
@ -1,5 +1,5 @@
|
||||
//! Walks a Conlang AST, interpreting it as a program
|
||||
|
||||
//! Walks a Conlang AST, interpreting it as a program.
|
||||
#![warn(clippy::all)]
|
||||
#![feature(decl_macro)]
|
||||
|
||||
use env::Environment;
|
||||
|
@ -1,4 +1,5 @@
|
||||
//! Converts a text file into tokens
|
||||
#![warn(clippy::all)]
|
||||
#![feature(decl_macro)]
|
||||
use cl_structures::span::Loc;
|
||||
use cl_token::*;
|
||||
|
@ -3,6 +3,7 @@
|
||||
//! For the full grammar, see [grammar.ebnf][1]
|
||||
//!
|
||||
//! [1]: https://git.soft.fish/j/Conlang/src/branch/main/grammar.ebnf
|
||||
#![warn(clippy::all)]
|
||||
#![feature(decl_macro)]
|
||||
|
||||
pub use parser::Parser;
|
||||
|
@ -3,6 +3,7 @@
|
||||
//! # TODO
|
||||
//! - [ ] Readline-like line editing
|
||||
//! - [ ] Raw mode?
|
||||
#![warn(clippy::all)]
|
||||
|
||||
pub mod args {
|
||||
use crate::cli::Mode;
|
||||
|
@ -1,6 +1,7 @@
|
||||
//! # Universally useful structures
|
||||
//! - [Span](struct@span::Span): Stores a start and end [Loc](struct@span::Loc)
|
||||
//! - [Loc](struct@span::Loc): Stores the index in a stream
|
||||
#![warn(clippy::all)]
|
||||
|
||||
pub mod span {
|
||||
//! - [struct@Span]: Stores the start and end [struct@Loc] of a notable AST node
|
||||
|
@ -1,6 +1,7 @@
|
||||
//! # Token
|
||||
//!
|
||||
//! Stores a component of a file as a [Type], some [Data], and a line and column number
|
||||
#![warn(clippy::all)]
|
||||
#![feature(decl_macro)]
|
||||
|
||||
pub mod token;
|
||||
|
Loading…
Reference in New Issue
Block a user