public static Expression number ( long value ) { Preconditions . checkArgument ( IntegerNode . isInRange ( value ) , "Number is outside JS safe integer range: %s" , value ) ; return Leaf . create ( Long . toString ( value ) , /* isCheap= */ true ) ; }
Creates a code chunk representing a JavaScript number literal .