CodeQL library for Go
codeql/go-all 2.1.1-dev (changelog, source)
Search

Member predicate Expr::getExactValue

Gets the string representation of the exact value this expression evaluates to, if any.

For example, for the constant 3.141592653589793238462, this will result in 1570796326794896619231/500000000000000000000

string getExactValue()