syntax

package
v0.0.0-...-8ad63dc Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package syntax includes functions for parsing syntax.

Index

Constants

This section is empty.

Variables

View Source
var AttributePrefix = "@"
View Source
var VariablePrefix = "$"

Functions

func IsArray

func IsArray(s string) bool

IsArray returns true if the string is a formatted array

func IsAttribute

func IsAttribute(s string) bool

IsAttribute returns true if the string is a formatted attribute

func IsFunction

func IsFunction(s string) bool

IsFunction returns true if the string is a formatted function

func IsQuoted

func IsQuoted(s string) bool

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

func IsSetOrDictionary

func IsSetOrDictionary(s string) bool

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

func IsSub

func IsSub(s string) bool

IsSub returns true if the string is formatted sub

func IsVariable

func IsVariable(s string) bool

IsVariable returns true if the string is a formatted variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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