Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NodeField (0.07 sec)

  1. src/text/template/parse/node.go

    	NodeDot                        // The cursor, dot.
    	nodeElse                       // An else action. Not added to tree.
    	nodeEnd                        // An end action. Not added to tree.
    	NodeField                      // A field or method name.
    	NodeIdentifier                 // An identifier; always a function name.
    	NodeIf                         // An if action.
    	NodeList                       // A list of Nodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/text/template/parse/parse.go

    		}
    		// Compatibility with original API: If the term is of type NodeField
    		// or NodeVariable, just put more fields on the original.
    		// Otherwise, keep the Chain node.
    		// Obvious parsing errors involving literal values are detected here.
    		// More complex error cases will have to be handled at execution time.
    		switch node.Type() {
    		case NodeField:
    			node = t.newField(chain.Position(), chain.String())
    		case NodeVariable:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top