Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface ModifierProvider
import { type ModifierProvider } from "https://deno.land/x/ogone@revb3/src/classes/ProtocolModifierGetter.ts";

Properties

token: string

token used to split the protocol

unique: boolean

the modifier should be the unique one

optional
argumentType: null | string

set the argument's type following the modifier: case , default

optional
indentStyle: boolean

whenever a modifier should consider its indentation

optional
isReactive: boolean

fs the code should get reactive

optional
exclude: string[]

the modifier is excluding other modifier

Methods

onParse(ctx: ModifierContext): void

when the modifier is parsed, first argument is the context of the modifier