Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Language = core.SourceLanguage{ ID: core.LanguageId("csharp"), Sitter: csharp.GetLanguage(), CapabilityFinder: lang.NewCapabilityFinder("comment", lang.CompositePreprocessor( lang.RegexpRemovePreprocessor(`//\s*`), func(comment string) string { if !strings.HasPrefix(comment, "/*") { return comment } comment = comment[1 : len(comment)-1] comment = multilineCommentMarginRegexp.ReplaceAllString(comment, "") return comment }, )), TurnIntoComment: lang.MakeLineCommenter("// "), }
Functions ¶
Types ¶
type CSharpPlugins ¶
func NewCSharpPlugins ¶
func NewCSharpPlugins(cfg *config.Application, runtime Runtime) *CSharpPlugins
func (CSharpPlugins) Name ¶
func (c CSharpPlugins) Name() string
func (CSharpPlugins) Transform ¶
func (c CSharpPlugins) Transform(result *core.CompilationResult, deps *core.Dependencies) error
Click to show internal directories.
Click to hide internal directories.