pub struct MsilLanguage {
pub extended_instructions: bool,
pub debug_info: bool,
pub strict_mode: bool,
}Expand description
MSIL 语言实现
Fields§
§extended_instructions: bool是否允许扩展指令
debug_info: bool是否允许调试信息
strict_mode: bool是否严格模式
Implementations§
Trait Implementations§
Source§impl Clone for MsilLanguage
impl Clone for MsilLanguage
Source§fn clone(&self) -> MsilLanguage
fn clone(&self) -> MsilLanguage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MsilLanguage
impl Debug for MsilLanguage
Source§impl Default for MsilLanguage
impl Default for MsilLanguage
Source§impl Language for MsilLanguage
impl Language for MsilLanguage
Source§type SyntaxKind = MsilSyntaxKind
type SyntaxKind = MsilSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<MsilLanguage> for MsilLexer<'config>
impl<'config> Lexer<MsilLanguage> for MsilLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, MsilLanguage>,
) -> LexOutput<MsilLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, MsilLanguage>, ) -> LexOutput<MsilLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Source§fn lex(
&self,
source: impl Source,
) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
fn lex( &self, source: impl Source, ) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl PartialEq for MsilLanguage
impl PartialEq for MsilLanguage
impl Copy for MsilLanguage
impl Eq for MsilLanguage
impl StructuralPartialEq for MsilLanguage
Auto Trait Implementations§
impl Freeze for MsilLanguage
impl RefUnwindSafe for MsilLanguage
impl Send for MsilLanguage
impl Sync for MsilLanguage
impl Unpin for MsilLanguage
impl UnwindSafe for MsilLanguage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more