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