NewIdent creates a new Ident.
(name string, quoted bool)
| 3183 | |
| 3184 | // NewIdent creates a new Ident. |
| 3185 | func NewIdent(name string, quoted bool) Ident { |
| 3186 | return Ident{Name: name, Quoted: quoted} |
| 3187 | } |
| 3188 | |
| 3189 | // IsEmpty returns true if the name is empty. |
| 3190 | func (n Ident) IsEmpty() bool { |
no outgoing calls