Home | History | Annotate | Download | only in parse

Lines Matching defs:String

23 	String() string
28 Position() Pos // byte position of start of node in full original input string
68 NodeString // A string constant.
96 func (l *ListNode) String() string {
101 return b.String()
127 func (t *Tree) newText(pos Pos, text string) *TextNode {
131 func (t *TextNode) String() string {
161 func (p *PipeNode) String() string {
168 s += v.String()
176 s += c.String()
219 func (a *ActionNode) String() string {
249 func (c *CommandNode) String() string {
256 s += "(" + arg.String() + ")"
259 s += arg.String()
284 Ident string // The identifier's name.
288 func NewIdentifier(ident string) *IdentifierNode {
308 func (i *IdentifierNode) String() string {
326 Ident []string // Variable name and fields in lexical order.
329 func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
333 func (v *VariableNode) String() string {
349 return &VariableNode{tr: v.tr, NodeType: NodeVariable, Pos: v.Pos, Ident: append([]string{}, v.Ident...)}
370 func (d *DotNode) String() string {
400 func (n *NilNode) String() string {
419 Ident []string // The identifiers in lexical order.
422 func (t *Tree) newField(pos Pos, ident string) *FieldNode {
426 func (f *FieldNode) String() string {
439 return &FieldNode{tr: f.tr, NodeType: NodeField, Pos: f.Pos, Ident: append([]string{}, f.Ident...)}
450 Field []string // The identifiers in lexical order.
458 func (c *ChainNode) Add(field string) {
469 func (c *ChainNode) String() string {
470 s := c.Node.String()
485 return &ChainNode{tr: c.tr, NodeType: NodeChain, Pos: c.Pos, Node: c.Node, Field: append([]string{}, c.Field...)}
500 func (b *BoolNode) String() string {
530 Text string // The original textual representation from the input.
533 func (t *Tree) newNumber(pos Pos, text string, typ itemType) (*NumberNode, error) {
636 func (n *NumberNode) String() string {
650 // StringNode holds a string constant. The value has been "unquoted".
655 Quoted string // The original text of the string, with quotes.
656 Text string // The string, after quote processing.
659 func (t *Tree) newString(pos Pos, orig, text string) *StringNode {
663 func (s *StringNode) String() string {
687 func (e *endNode) String() string {
715 func (e *elseNode) String() string {
738 func (b *BranchNode) String() string {
818 Name string // The name of the template (unquoted).
822 func (t *Tree) newTemplate(pos Pos, line int, name string, pipe *PipeNode) *TemplateNode {
826 func (t *TemplateNode) String() string {