Documentation ¶
Index ¶
- Variables
- type KeywordDefinition
- type SectionDefinition
- func (s SectionDefinition) AttachSubsections(sections []SectionDefinition) SectionDefinition
- func (s SectionDefinition) JSONName() string
- func (s SectionDefinition) Name() string
- func (s SectionDefinition) TypeName() string
- func (s SectionDefinition) Typedef() string
- func (s SectionDefinition) VariableDefinition(name string) *VariableDefinition
- type VariableDefinition
Constants ¶
This section is empty.
Variables ¶
View Source
var Keywords = []KeywordDefinition{ { Name: "submap", Flags: []string{}, // contains filtered or unexported fields }, { Name: "windowrule", Flags: []string{}, // contains filtered or unexported fields }, { Name: "windowrulev2", Flags: []string{}, // contains filtered or unexported fields }, { Name: "layerrule", Flags: []string{}, // contains filtered or unexported fields }, { Name: "workspace", Flags: []string{}, // contains filtered or unexported fields }, { Name: "animation", Flags: []string{}, // contains filtered or unexported fields }, { Name: "bezier", Flags: []string{}, // contains filtered or unexported fields }, { Name: "exec", Flags: []string{}, // contains filtered or unexported fields }, { Name: "exec-once", Flags: []string{}, // contains filtered or unexported fields }, { Name: "source", Flags: []string{}, // contains filtered or unexported fields }, { Name: "env", Flags: []string{"d"}, // contains filtered or unexported fields }, { Name: "monitor", Flags: []string{}, // contains filtered or unexported fields }, { Name: "bind", Flags: []string{"r", "l", "e", "n", "m", "t", "i"}, // contains filtered or unexported fields }, { Name: "unbind", Flags: []string{}, // contains filtered or unexported fields }, }
View Source
var Sections = []SectionDefinition{}
Functions ¶
This section is empty.
Types ¶
type KeywordDefinition ¶
type KeywordDefinition struct { Name string Description string Flags []string // contains filtered or unexported fields }
func FindKeyword ¶
func FindKeyword(key string) (keyword KeywordDefinition, found bool)
func (KeywordDefinition) DocumentationLink ¶
func (k KeywordDefinition) DocumentationLink() string
type SectionDefinition ¶
type SectionDefinition struct { Path []string Subsections []SectionDefinition Variables []VariableDefinition }
func FindSectionDefinitionByName ¶
func FindSectionDefinitionByName(name string) *SectionDefinition
func (SectionDefinition) AttachSubsections ¶
func (s SectionDefinition) AttachSubsections(sections []SectionDefinition) SectionDefinition
func (SectionDefinition) JSONName ¶
func (s SectionDefinition) JSONName() string
func (SectionDefinition) Name ¶
func (s SectionDefinition) Name() string
func (SectionDefinition) TypeName ¶
func (s SectionDefinition) TypeName() string
func (SectionDefinition) Typedef ¶
func (s SectionDefinition) Typedef() string
func (SectionDefinition) VariableDefinition ¶
func (s SectionDefinition) VariableDefinition(name string) *VariableDefinition
type VariableDefinition ¶
func FindVariableDefinitionInSection ¶
func FindVariableDefinitionInSection(sectionName, variableName string) *VariableDefinition
func (VariableDefinition) GoType ¶
func (v VariableDefinition) GoType() string
func (VariableDefinition) ParserTypeString ¶
func (v VariableDefinition) ParserTypeString() string
func (VariableDefinition) PascalCaseName ¶
func (v VariableDefinition) PascalCaseName() string
func (VariableDefinition) PrettyDefault ¶
func (v VariableDefinition) PrettyDefault() string
Click to show internal directories.
Click to hide internal directories.