Benign repos Download

ts_estree.rs

imports super::buffer::AstBufSerializerimports super::buffer::CommentKind
SHA-2569b1e64aff277f3594ed44bee5eeb944d664438b0f894ac7c892df4fc947a69f0
MaleculeMd(In₄)

Evidence

imports super::buffer::AstBufSerializer lines 1–18
1// Copyright 2018-2026 the Deno authors. MIT license.
2
3use std::fmt;
4use std::fmt::Debug;
5use std::fmt::Display;
6
7use deno_ast::swc::common::Span;
8use deno_ast::view::TruePlusMinus;
9
10use super::buffer::AstBufSerializer;
11use super::buffer::CommentKind;
12use super::buffer::NodeRef;
13use super::buffer::SerializeCtx;
14use crate::util::text_encoding::Utf16Map;
15
16#[derive(Debug, Clone, PartialEq)]
17pub enum AstNode {
18 // First node must always be the empt …
English function-word token "for" lines 199–204
199:6… oidKeyword,
200 TSEnumBody, // Last value is used for max value
201}
202
203impl Display for AstNode {
204 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result …
English function-word token "with" lines 216–222
216:5… enum AstProp {
217 // Base, these must be in sync with JS in the same order.
218 Invalid,
219 Type,
220 Parent,
221 Range,
222 Length, // Not used in AST, but c …
English function-word token "this" lines 2184–2188
2184:54…
2185 // TODO(@marvinhagemeister) not sure where this is coming from
2186 self.ctx.write_bool(AstProp::Static, false);
2187
2188 self.ctx.write_ref(AstProp …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.