Home
last modified time | relevance | path

Searched defs:BasicLit (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
Dnodes.go155 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/
Dexpr.go130 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/
Dast.go302 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/
Dnodes.go1097 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/
Dstruct.go211 func (check *Checker) tag(t *ast.BasicLit) string {
Dexpr.go1023 func (check *Checker) langCompat(lit *ast.BasicLit) {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/
Dstruct.go212 func (check *Checker) tag(t *syntax.BasicLit) string {
Dexpr.go1038 func (check *Checker) langCompat(lit *syntax.BasicLit) {