# -*- mode: snippet -*-
|
|
# name: getset
|
|
# key: getset
|
|
# --
|
|
${1:Type} _${2:Name};
|
|
$1 get $2 => _$2;
|
|
set $2($1 $2) => _$2 = $2;$0
|