func (n *CharacterLiteral) Position() Position {
	return n.Pos
}
Position returns the position in the original source code.
package ast
import (
	"github.com/Konstantin8105/c4go/util"
)
type CharacterLiteral struct {
	Addr       Address
	Pos        Position
	Type       string
	Value      int
	ChildNodes []Node
}
func parseCharacterLiteral(line string) *CharacterLiteral {
	groups := groupsFromRegex(
		"<(?P<position>.*)> '(?P<type>.*?)' (?P<value>\\d+)",
		line,
	)
	return &CharacterLiteral{
		Addr:       ParseAddress(groups["address"]),
		Pos:        NewPositionFromString(groups["position"]),
		Type:       groups["type"],
		Value:      util.Atoi(groups["value"]),
		ChildNodes: []Node{},
	}
}
func (n *CharacterLiteral) AddChild(node Node) {
	n.ChildNodes = append(n.ChildNodes, node)
}
func (n *CharacterLiteral) Address() Address {
	return n.Addr
}
func (n *CharacterLiteral) Children() []Node {
	return n.ChildNodes
}