MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / comment_token

Method comment_token

cranelift/srcgen/src/lib.rs:79–84  ·  view source on GitHub ↗

Get the comment token for the language.

(&self)

Source from the content-addressed store, hash-verified

77
78 /// Get the comment token for the language.
79 pub fn comment_token(&self) -> &'static str {
80 match self {
81 Language::Rust => "//",
82 Language::Isle => ";;",
83 }
84 }
85}
86
87/// Collect source code to be written to a file and keep track of indentation.

Callers 1

line_with_locationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected