Dart 关键字

img

cekiasoolv-3

2018年09月22日 15:53 · 阅读 184

一、什么是关键字

关键字就是保留字,比如变量、类型等的名字,通常不能作为标识符使用;

二、关键字有哪些

每种语言的关键字会有所不同,Dart 语言的关键字如下:

abstract dynamic implements show
as else import static
assert enum in super
async export interface switch
await external is sync
break extends library this
case factory mixin throw
catch false new true
class final null try
const finally on typedef
continue for operator var
covariant Function part void
default get rethrow while
deferred hide return with
do if set yield

results matching ""

    No results matching ""