visitFloatLiteralExpr method

  1. @override
Uint8List visitFloatLiteralExpr(
  1. ASTLiteralFloat expr
)
override

Implementation

@override
Uint8List visitFloatLiteralExpr(ASTLiteralFloat expr) {
  final index = _currentConstantTable.addGlobalConstant<double>(expr.value);
  return _localConst(
      HTValueTypeCode.constFloat, index, expr.line, expr.column);
}