go-dfl: github.com/spatialcurrent/go-dfl/pkg/dfl/syntax Index | Files

package syntax

import "github.com/spatialcurrent/go-dfl/pkg/dfl/syntax"

Package syntax includes functions for parsing syntax.

Index

Package Files

IsArray.go IsAttribute.go IsFunction.go IsQuoted.go IsSetOrDictionary.go IsSub.go IsVariable.go syntax.go

Variables

var AttributePrefix = "@"
var VariablePrefix = "$"

func IsArray Uses

func IsArray(s string) bool

IsArray returns true if the string is a formatted array

func IsAttribute Uses

func IsAttribute(s string) bool

IsAttribute returns true if the string is a formatted attribute

func IsFunction Uses

func IsFunction(s string) bool

IsFunction returns true if the string is a formatted function

func IsQuoted Uses

func IsQuoted(s string) bool

IsQuoted returns true if the string is a quoted string (using single quotes, double quotes, or backticks)

func IsSetOrDictionary Uses

func IsSetOrDictionary(s string) bool

IsSetOrDictionary returns true if the string is a formatted set or dictionary.

func IsSub Uses

func IsSub(s string) bool

IsSub returns true if the string is formatted sub

func IsVariable Uses

func IsVariable(s string) bool

IsVariable returns true if the string is a formatted variable.

Package syntax imports 2 packages (graph) and is imported by 1 packages. Updated 2019-09-22. Refresh now. Tools for package owners.