Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

부록 C 키워드와 기호

SysML 텍스트 표기법의 예약어 128개와 기호를 쓰임에 따라 모았습니다. 예약어는 이름으로 쓸 수 없습니다. 예약어와 같은 철자를 이름으로 써야 할 때에는 'state'처럼 작은따옴표로 감싼 unrestricted name으로 적습니다. KerML에만 있는 예약어는 마지막 절에 따로 모았습니다.

종류 키워드

definition은 종류 키워드 뒤에 def를 붙여 선언하고, usage는 종류 키워드만으로 선언합니다.

키워드종류장
attributeattribute7장
enumenumeration7장
occurrenceoccurrence15장
itemitem8장
partpart8장
portport10장
connectionconnection9장
interfaceinterface10장
allocationallocation21장
flowflow19장
actionaction16장
statestate18장
calccalculation13장
constraintconstraint13장
requirementrequirement14장
concernconcern14장
casecase20장
analysisanalysis case20장
verificationverification case20장
use caseuse case20장
viewview22장
viewpointviewpoint22장
renderingrendering22장
metadatametadata23장
def종류 키워드 뒤에 붙여 definition을 선언합니다.4장

usage로만 선언하는 종류도 있습니다.

키워드종류장
refreference usage. 다른 종류 키워드 앞에 붙이면 referential usage6장
binding, bindbinding9장
succession, first, thensuccession15장, 17장
messagemessage19장
transitiontransition usage18장
eventevent occurrence usage15장
timeslice, snapshottime slice, snapshot15장

선언 앞에 붙는 키워드

키워드뜻장
public, private, protected가시성3장
abstract추상 definition이나 usage5장
variation, variant고를 수 있는 자리와 그 선택지11장
in, out, inoutdirection6장
derived다른 것에서 계산되는 usage6장
constantlifetime 동안 value가 달라지지 않는 usage6장, 15장
endconnection의 end9장
individual특정한 대상 하나를 나타내는 definition이나 usage15장
parallelsubstate가 동시에 진행되는 state. 본문 바로 앞에 적습니다.18장
standard, librarylibrary package24장

relationship과 선언의 구성 요소

키워드같은 뜻의 기호뜻장
specializes:>subclassification, subsetting5장
subsets:>subsetting5장
redefines:>>redefinition5장
defined by:usage의 definition4장
references::>reference subsetting9장
crosses=>cross subsetting9장
ordered, nonuniquevalue의 순서와 중복6장
defaultdefault value6장
alias, foralias3장
import, allimport. all은 가시성을 따지지 않습니다.3장, 24장
filterimport와 view의 조건22장, 24장
packagepackage3장
dependency, from, todependency21장
comment, doc, aboutcomment와 documentation3장
rep, language, localetextual representation, comment의 언어3장

from과 to는 flow, message, connect, allocate에서도 양쪽 끝을 적는 데 씁니다. of는 flow와 message에서 payload의 type을 적는 데 씁니다(19장).

다른 것을 가리켜 쓰는 선언

키워드뜻장
connectconnection usage의 end를 적습니다.9장
allocateallocation usage의 end를 적습니다.21장
performpart가 action을 수행합니다.16장
exhibitpart가 state를 나타냅니다.18장
includeuse case가 다른 use case를 포함합니다.20장
assert, notconstraint가 참이라고, 또는 거짓이라고 주장합니다.13장
satisfy, by설계 요소가 requirement를 충족한다고 주장합니다.14장
verifyverification case가 확인하는 requirement입니다.20장
exposeview가 다루는 범위입니다.22장
renderview의 rendering입니다.22장

requirement와 case의 구성 요소

키워드뜻장
subjectrequirement나 case의 대상14장, 20장
actor대상 바깥에서 관여하는 part14장, 20장
stakeholder이해관계자14장
assume, requireassumed constraint, required constraint14장
framerequirement가 답하는 concern14장
objectivecase의 목적20장
returncalculation과 case의 result parameter13장

행위의 구성 요소

키워드뜻장
fork, join, decide, mergecontrol node17장
if, elseguard가 있는 succession, if action, 조건 expression12장, 17장
while, until, loop, forloop action17장
assignassignment action17장
terminateterminate action17장
send, viasend action19장
accept, when, at, afteraccept action과 trigger18장, 19장
entry, do, exitstate의 entry, do, exit action. do는 transition의 effect에도 씁니다.18장

expression에 쓰는 키워드

키워드뜻장
true, false, null리터럴12장
and, or, xor, not, implies논리 연산자12장
istype, hastype, astype 검사와 type으로 고르기12장
metaelement를 metaclass의 instance로서 가리킵니다.23장
alltype의 instance 전체12장
newinstance를 만드는 expression에 씁니다. 예약어는 아닙니다.12장

기호

기호뜻장
{ }본문2장
;선언의 끝2장
::qualified name의 구분자3장
.feature chain6장
< >short name3장
' 'unrestricted name3장
//, //* */, /* */줄 주석, 여러 줄 주석, comment의 본문3장
:usage의 definition4장
:>specialization, subsetting5장
:>>redefinition5장
::>reference subsetting9장
=>cross subsetting9장
~conjugated port definition10장
[ ]multiplicity. 숫자 뒤에서는 단위6장, 7장
..범위6장, 12장
*multiplicity의 상한 없음. expression에서는 곱셈6장, 12장
=bound value6장
:=initial value, assignment6장, 17장
@metadata usage. expression에서는 type 검사12장, 23장
@@element에 metadata가 붙어 있는지 검사합니다.23장
#user-defined keyword. expression에서는 index12장, 23장
::*, ::**namespace import, recursive import3장, 24장
+ - * / % ^ **산술 연산자12장
== != === !==같음과 동일성12장
< > <= >=비교12장
& |양쪽을 모두 평가하는 논리 연산자12장
??값 없음 대체12장
?조건 expression의 구분자12장
.?, ->select, function 호출의 다른 표기12장

KerML에만 있는 예약어

KerML 표기법의 예약어 101개 가운데 다음 44개는 SysML의 예약어가 아닙니다. SysML 모델에서는 이름으로 쓸 수 있습니다.

쓰임예약어장
type을 선언type, classifier, datatype, class, struct, assoc, behavior, function, predicate, interaction, metaclass, namespace25장
feature를 선언feature, connector, step, expr, bool, inv, multiplicity25장
feature 앞에 붙는 성질composite, portion, var, const, member25장
선언 안의 relationshiptyped, conjugates, chains, inverse, featured, disjoint, unions, intersects, differences25장
독립된 relationship 선언specialization, subtype, subclassifier, typing, subset, redefinition, conjugation, conjugate, disjoining, inverting, featuring25장