fix typo
This commit is contained in:
@@ -7,7 +7,7 @@ type Dnumber struct {
|
||||
Value string
|
||||
}
|
||||
|
||||
// NewDnumber node constuctor
|
||||
// NewDnumber node constructor
|
||||
func NewDnumber(Value string) *Dnumber {
|
||||
return &Dnumber{
|
||||
Value,
|
||||
|
||||
@@ -10,7 +10,7 @@ type Encapsed struct {
|
||||
Parts []node.Node
|
||||
}
|
||||
|
||||
// NewEncapsed node constuctor
|
||||
// NewEncapsed node constructor
|
||||
func NewEncapsed(Parts []node.Node) *Encapsed {
|
||||
return &Encapsed{
|
||||
Parts,
|
||||
|
||||
@@ -7,7 +7,7 @@ type EncapsedStringPart struct {
|
||||
Value string
|
||||
}
|
||||
|
||||
// NewEncapsedStringPart node constuctor
|
||||
// NewEncapsedStringPart node constructor
|
||||
func NewEncapsedStringPart(Value string) *EncapsedStringPart {
|
||||
return &EncapsedStringPart{
|
||||
Value,
|
||||
|
||||
@@ -7,7 +7,7 @@ type Lnumber struct {
|
||||
Value string
|
||||
}
|
||||
|
||||
// NewLnumber node constuctor
|
||||
// NewLnumber node constructor
|
||||
func NewLnumber(Value string) *Lnumber {
|
||||
return &Lnumber{
|
||||
Value,
|
||||
|
||||
@@ -7,7 +7,7 @@ type MagicConstant struct {
|
||||
Value string
|
||||
}
|
||||
|
||||
// NewMagicConstant node constuctor
|
||||
// NewMagicConstant node constructor
|
||||
func NewMagicConstant(Value string) *MagicConstant {
|
||||
return &MagicConstant{
|
||||
Value,
|
||||
|
||||
@@ -7,7 +7,7 @@ type String struct {
|
||||
Value string
|
||||
}
|
||||
|
||||
// NewString node constuctor
|
||||
// NewString node constructor
|
||||
func NewString(Value string) *String {
|
||||
return &String{
|
||||
Value,
|
||||
|
||||
Reference in New Issue
Block a user