smcat-parser.peggy

program

_ statemachine _
Used by:
References: _ statemachine

statemachine

states transition
Used by: program state
References: states transition

states

state , state ;
Used by: statemachine
References: state

state

note _ identifier _ [ extended_state_attributes ] _ : _ string _ _ { _ statemachine _ } _
Used by: states
References: note _ identifier extended_state_attributes string statemachine

extended_state_attributes

extended_state_attribute
Used by: state
References: extended_state_attribute

extended_state_attribute

_ extended_state_string_attribute_name _ = _ quotedstring _ _ class_attribute_name _ = _ class_string _ _ extended_state_boolean_attribute_name _ _ extended_state_type_attribute_name _ = _ extended_state_type_attribute_type _
Used by: extended_state_attributes
References: _ extended_state_string_attribute_name quotedstring class_attribute_name class_string extended_state_boolean_attribute_name extended_state_type_attribute_name extended_state_type_attribute_type

extended_state_string_attribute_name

label color
Used by: extended_state_attribute
References:

class_attribute_name

class
Used by: extended_state_attribute extended_transition_attribute
References:

extended_state_boolean_attribute_name

active
Used by: extended_state_attribute
References:

extended_state_type_attribute_name

type
Used by: extended_state_attribute
References:

extended_state_type_attribute_type

regular initial terminate final parallel history deephistory choice forkjoin fork join junction
Used by: extended_state_attribute
References:

transition

note transitionbase [ extended_transition_attributes ] _ : _ transitionstring _ ;
Used by: statemachine
References: note transitionbase extended_transition_attributes _ transitionstring

transitionbase

_ identifier _ fwdarrowtoken _ identifier _ _ identifier _ bckarrowtoken _ identifier _
Used by: transition
References: _ identifier fwdarrowtoken bckarrowtoken

extended_transition_attributes

extended_transition_attribute
Used by: transition
References: extended_transition_attribute

extended_transition_attribute

_ extended_transition_string_attribute_name _ = _ quotedstring _ _ class_attribute_name _ = _ class_string _ _ extended_transition_type_name _ = _ extended_transition_type_value _ _ extended_transition_numeric_attribute_name _ = _ positive_number _
Used by: extended_transition_attributes
References: _ extended_transition_string_attribute_name quotedstring class_attribute_name class_string extended_transition_type_name extended_transition_type_value extended_transition_numeric_attribute_name positive_number

extended_transition_string_attribute_name

color
Used by: extended_transition_attribute
References:

extended_transition_type_name

type
Used by: extended_transition_attribute
References:

extended_transition_numeric_attribute_name

width
Used by: extended_transition_attribute
References:

extended_transition_type_value

external internal
Used by: extended_transition_attribute
References:

fwdarrowtoken

-> =>> => >> :> -- ==
Used by: transitionbase
References:

bckarrowtoken

<- <<= <= << <:
Used by: transitionbase
References:

note

_ # slcomtok
Used by: state transition
References: _ slcomtok

positive_number

positive_real cardinal
Used by: extended_transition_attribute
References: positive_real cardinal

positive_real

cardinal . cardinal
Used by: positive_number
References: cardinal

cardinal

[0-9]
Used by: positive_number positive_real
References:

transitionstring

quotedstring unquotedtransitionstring
Used by: transition
References: quotedstring unquotedtransitionstring

string

quotedstring unquotedstring
Used by: state
References: quotedstring unquotedstring

quotedstring

" stringcontent "
Used by: extended_state_attribute extended_transition_attribute transitionstring string identifier
References: stringcontent

stringcontent

" \" [any character]
Used by: quotedstring
References:

class_string

" class_stringcontent "
Used by: extended_state_attribute extended_transition_attribute
References: class_stringcontent

class_stringcontent

" [a-zA-Z0-9_- ]
Used by: class_string
References:

unquotedtransitionstring

transitionnonsep
Used by: transitionstring
References: transitionnonsep

unquotedstring

nonsep
Used by: string
References: nonsep

nonsep

, ; { [any character]
Used by: unquotedstring
References:

transitionnonsep

; { [any character]
Used by: unquotedtransitionstring
References:

identifier

[^;, "\t\n\r=-><:{\[] quotedstring
Used by: state transitionbase
References: quotedstring

whitespace

[ \t]
Used by: _
References:

lineend

[\r\n]
Used by: _
References:

mlcomstart

/*
Used by: mlcomment
References:

mlcomend

*/
Used by: mlcomment
References:

mlcomtok

*/ [any character]
Used by: mlcomment
References:

mlcomment

mlcomstart mlcomtok mlcomend
Used by: comment
References: mlcomstart mlcomtok mlcomend

slcomstart

//
Used by: slcomment
References:

slcomtok

[^\r\n]
Used by: note slcomment
References:

slcomment

slcomstart slcomtok
Used by: comment
References: slcomstart slcomtok

comment

slcomment mlcomment
Used by: _
References: slcomment mlcomment

_

whitespace lineend comment
Used by: program state extended_state_attribute transition transitionbase extended_transition_attribute note
References: whitespace lineend comment