func (v *Variable) GetValue() interface{} {
	return v.GetName()
}
GetValue alias to Variable.GetName()
package ast
import (
	"github.com/graphql-go/graphql/language/kinds"
)
type Value interface {
	GetValue() interface{}
	GetKind() string
	GetLoc() *Location
}
var _ Value = (*Variable)(nil)
var _ Value = (*IntValue)(nil)
var _ Value = (*FloatValue)(nil)
var _ Value = (*StringValue)(nil)
var _ Value = (*BooleanValue)(nil)
var _ Value = (*EnumValue)(nil)
var _ Value = (*ListValue)(nil)
var _ Value = (*ObjectValue)(nil)
type Variable struct {
	Kind string
	Loc  *Location
	Name *Name
}
func NewVariable(v *Variable) *Variable {
	if v == nil {
		v = &Variable{}
	}
	v.Kind = kinds.Variable
	return v
}
func (v *Variable) GetKind() string {
	return v.Kind
}
func (v *Variable) GetLoc() *Location {
	return v.Loc
}