styling

package
v0.0.0-...-14f1a14 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: LGPL-2.1 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenEndStatement = ';'
	TokenSpace        = ' '
	TokenTab          = '\t'
	TokenNewLine      = '\n'
	TokenOpenBlock    = '{'
	TokenCloseBlock   = '}'
)
View Source
const (
	TokenOpenBlockComment  = "/*"
	TokenCloseBlockComment = "*/"
	TokenOpenLineComment   = "//"
	TokenPseudoSelector    = "::"
)

2-char tokens

Variables

This section is empty.

Functions

This section is empty.

Types

type Style

type Style struct {
	// contains filtered or unexported fields
}

func Parse

func Parse(stylesheet string) (*Style, errorsx.Error)

func (*Style) GetWayStyle

func (s *Style) GetWayStyle(tags []*ownmap.OSMTag, ZoomLevel ownmap.ZoomLevel) (*styling.WayStyle, errorsx.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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