literal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	COLON          = []byte(":")
	BANG           = []byte("!")
	LINETERMINATOR = []byte("\n")
	TAB            = []byte("	")
	SPACE          = []byte(" ")
	QUOTE          = []byte("\"")
	COMMA          = []byte(",")
	AT             = []byte("@")
	DOLLAR         = []byte("$")
	DOT            = []byte(".")
	SPREAD         = []byte("...")
	PIPE           = []byte("|")
	SLASH          = []byte("/")
	BACKSLASH      = []byte("\\")
	EQUALS         = []byte("=")
	NEGATIVESIGN   = []byte("-")
	AND            = []byte("&")

	BRACKETOPEN        = []byte("(")
	BRACKETCLOSE       = []byte(")")
	SQUAREBRACKETOPEN  = []byte("[")
	SQUAREBRACKETCLOSE = []byte("]")
	CURLYBRACKETOPEN   = []byte("{")
	CURLYBRACKETCLOSE  = []byte("}")

	GOBOOL    = []byte("bool")
	GOINT32   = []byte("int32")
	GOFLOAT32 = []byte("float32")
	GOSTRING  = []byte("string")
	GONIL     = []byte("nil")

	EOF          = []byte("eof")
	ID           = []byte("ID")
	BOOLEAN      = []byte("Boolean")
	STRING       = []byte("String")
	INT          = []byte("Int")
	FLOAT        = []byte("Float")
	TYPE         = []byte("type")
	GRAPHQLTYPE  = []byte("graphqlType")
	INTERFACE    = []byte("interface")
	INPUT        = []byte("input")
	SCHEMA       = []byte("schema")
	SCALAR       = []byte("scalar")
	UNION        = []byte("union")
	ENUM         = []byte("enum")
	DIRECTIVE    = []byte("directive")
	QUERY        = []byte("query")
	MUTATION     = []byte("mutation")
	SUBSCRIPTION = []byte("subscription")
	IMPLEMENTS   = []byte("implements")
	ON           = []byte("on")
	FRAGMENT     = []byte("fragment")
	NULL         = []byte("null")

	TRUE  = []byte("true")
	FALSE = []byte("false")
)

Functions

This section is empty.

Types

type Literal

type Literal []byte

func (Literal) Equals

func (l Literal) Equals(another Literal) bool

Jump to

Keyboard shortcuts

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