- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for constDecl (0.45 sec)
-
src/cmd/compile/internal/syntax/positions.go
panic("nil node") // packages case *File: // file block starts at the beginning of the file return MakePos(n.Pos().Base(), 1, 1) // declarations // case *ImportDecl: // case *ConstDecl: // case *TypeDecl: // case *VarDecl: // case *FuncDecl: // expressions // case *BadExpr: // case *Name: // case *BasicLit: case *CompositeLit: if n.Type != nil { m = n.Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
doc/go_spec.html
<a href="#Package_initialization"><code>init</code> function</a> declarations, and like the blank identifier it does not introduce a new binding. </p> <pre class="ebnf"> Declaration = ConstDecl | TypeDecl | VarDecl . TopLevelDecl = Declaration | FunctionDecl | MethodDecl . </pre> <p> The <i>scope</i> of a declared identifier is the extent of source text in which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0)