parser_data

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 (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

type VariableDefinition struct {
	Name        string
	Description string
	Type        string
	Default     string
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL