Searched defs:BasicLit (Results 1 – 8 of 8) sorted by relevance
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
D | nodes.go | 155 BasicLit struct { struct 156 Value string 157 Kind LitKind 158 Bad bool // true means the literal Value has syntax errors 159 expr
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/ir/ |
D | expr.go | 130 type BasicLit struct { struct 131 miniExpr 132 val constant.Value 147 func (n *BasicLit) Val() constant.Value { return n.val } 148 func (n *BasicLit) SetVal(val constant.Value) { n.val = val }
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/ast/ |
D | ast.go | 302 BasicLit struct { struct 303 ValuePos token.Pos // literal position 304 Kind token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING 305 …e string // literal string; e.g. 42, 0x7f, 3.14, 1e-9, 2.4i, 'a', '\x7f', "foo" or `\m\n\o` 483 func (x *BasicLit) Pos() token.Pos { return x.ValuePos } 522 func (x *BasicLit) End() token.Pos { return token.Pos(int(x.ValuePos) + len(x.Value)) } 553 func (*BasicLit) exprNode() {}
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/ |
D | nodes.go | 1097 func normalizedNumber(lit *ast.BasicLit) *ast.BasicLit { 1641 func sanitizeImportPath(lit *ast.BasicLit) *ast.BasicLit {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/types/ |
D | struct.go | 211 func (check *Checker) tag(t *ast.BasicLit) string {
|
D | expr.go | 1023 func (check *Checker) langCompat(lit *ast.BasicLit) {
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/ |
D | struct.go | 212 func (check *Checker) tag(t *syntax.BasicLit) string {
|
D | expr.go | 1038 func (check *Checker) langCompat(lit *syntax.BasicLit) {
|