NativeFunctionBodyImpl constructor
NativeFunctionBodyImpl({
- required Token nativeKeyword,
- required StringLiteralImpl? stringLiteral,
- required Token semicolon,
Initialize a newly created function body consisting of the 'native' token, a string literal, and a semicolon.
Implementation
NativeFunctionBodyImpl({
required this.nativeKeyword,
required StringLiteralImpl? stringLiteral,
required this.semicolon,
}) : _stringLiteral = stringLiteral {
_becomeParentOf(_stringLiteral);
}