Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TypeNode (0.12 sec)

  1. src/cmd/compile/internal/ir/type.go

    	"cmd/internal/src"
    )
    
    // Calling TypeNode converts a *types.Type to a Node shell.
    
    // A typeNode is a Node wrapper for type t.
    type typeNode struct {
    	miniNode
    	typ *types.Type
    }
    
    func newTypeNode(typ *types.Type) *typeNode {
    	n := &typeNode{typ: typ}
    	n.pos = src.NoXPos
    	n.op = OTYPE
    	n.SetTypecheck(1)
    	return n
    }
    
    func (n *typeNode) Type() *types.Type { return n.typ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Project.java

                Node typeNode = findFirstChildNamed(linkNode, "type");
                Node locationNode = findFirstChildNamed(linkNode, "location");
                Node locationUriNode = findFirstChildNamed(linkNode, "locationURI");
                linkedResources.add(new Link(
                    nameNode != null ? nameNode.text() : null,
                    typeNode != null ? typeNode.text() : null,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/complit.go

    		}
    		a = initStackTemp(init, x, vstat)
    	} else if n.Esc() == ir.EscNone {
    		a = initStackTemp(init, typecheck.TempAt(base.Pos, ir.CurFunc, t), vstat)
    	} else {
    		a = ir.NewUnaryExpr(base.Pos, ir.ONEW, ir.TypeNode(t))
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, vauto, a))
    
    	if vstat != nil && n.Prealloc == nil && n.Esc() != ir.EscNone {
    		// If we allocated on the heap with ONEW, copy the static to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/switch.go

    					addr := dt.RType.(*ir.AddrExpr)
    					if addr.X.Op() == ir.OLINKSYMOFFSET {
    						n1 = ir.TypeNode(n1.Type())
    					}
    				}
    				if dt.ITab != nil && dt.ITab.Op() == ir.OADDR {
    					addr := dt.ITab.(*ir.AddrExpr)
    					if addr.X.Op() == ir.OLINKSYMOFFSET {
    						n1 = ir.TypeNode(n1.Type())
    					}
    				}
    			}
    			cases = append(cases, oneCase{
    				pos: ncase.Pos(),
    				typ: n1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/typecheck.go

    	}
    
    	if !types.IsMethodApplicable(recv, m) {
    		base.FatalfAt(pos, "invalid method expression %v.%v (needs pointer receiver)", recv, sym)
    	}
    
    	n := ir.NewSelectorExpr(pos, ir.OMETHEXPR, ir.TypeNode(recv), sym)
    	n.Selection = m
    	n.SetType(NewMethodType(m.Type, recv))
    	n.SetTypecheck(1)
    	return n
    }
    
    func derefall(t *types.Type) *types.Type {
    	for t != nil && t.IsPtr() {
    		t = t.Elem()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. test-site/activator-launch-1.3.2.jar

    il.MessageLogger); public static java.util.Map getExtraAttributes(org.xml.sax.Attributes, String); public static java.util.Map getExtraAttributes(org.apache.ivy.plugins.parser.ParserSettings, org.xml.sax.Attributes, String[]); private static int typeCode(Object); public static boolean unboxToBoolean(Object); public static char unboxToChar(Object); public static byte unboxToByte(Object); public static short unboxToShort(Object); public static int unboxToInt(Object); public static long unboxToLong(Object);...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
Back to top