Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertTranspilation ¶
func AssertTranspilation(t *testing.T, config *AssertTranspilationConfig)
func InitTranspiler ¶
func InitTranspiler(contextConfig *TranspilerContextConfig)
Types ¶
type AssertTranspilationConfig ¶
type AssertTranspilationConfig struct { SourceFilename string SourceCode string TargetCode string TranspileFunction TranspileFunction }
type TranspileFunction ¶
type TranspileFunction func(config *TranspileFunctionConfig) (string, error)
type TranspileFunctionConfig ¶
type TranspilerContext ¶
type TranspilerContext struct { SentryService *sentry.SentryService MetricsService *metrics.MetricsService StorageService *storage.StorageService QueueService *queue.QueueService MessagesService *messages.MessagesService // contains filtered or unexported fields }
func (*TranspilerContext) StopTranspiler ¶
func (t *TranspilerContext) StopTranspiler()
type TranspilerContextConfig ¶
type TranspilerContextConfig struct { SourceLanguage string SourceLanguageFileExtension string TargetLanguage string TargetLanguageFileExtension string TranspileFunction TranspileFunction }
Click to show internal directories.
Click to hide internal directories.