// Common-expanded class dictionary Demeter_in = Input . Input : Cd_graph *common* . Cd_graph = Adjacency_Nlist [ "*terminal_sets*" Vertex_Comma_list "." ] . Adjacency = Vertex Neighbors "." . Neighbors : Neighbors_wc | Repetit_n *common* . Neighbors_wc : Construct_ns | Alternat_ns *common* . Construct_ns = "=" Any_vertex_List . Alternat_ns = ":" Term_Bar_list [ Common ] Any_vertex_List . Common = "*common*" . Repetit_n = "~" Kernel_Sandwich . Kernel = [ Term ] "{" Term_Sandwich "}" . Any_vertex : Opt_labeled_term | Optional_term | Syntax_vertex | Inherit_term *common* . Vertex = DemIdent . Syntax_vertex : Regular_syntax | Print_command *common* . Regular_syntax = DemString . Print_command : Print_indent | Print_unindent | Print_skip | Print_space *common* . Print_indent = "+" . Print_unindent = "-" . Print_skip = "*l" . Print_space = "*s" . Opt_labeled_term : Labeled | Regular *common* . StaticSpec = "*static*" . AccessorSpec : ReadOnlyAcc | PrivateAcc *common* . ReadOnlyAcc = "*read-only*" . PrivateAcc = "*private*" . Regular = [ StaticSpec ] [ AccessorSpec ] Term . Labeled = "<" DemIdent ">" [ StaticSpec ] [ AccessorSpec ] Term . Inherit_term = "*inherit*" Term_Comma_list . Term : Normal | CppTerm *common* . CppTerm = "$" Vertex TermRef [ "(" Term_Comma_list ")" ] . TermRef : LocalRef | ModuleRef *common* . ModuleRef : CompRef | LibRef *common* . LocalRef = . CompRef = "@" DemIdent . LibRef = "@@" DemIdent . Normal = Vertex TermRef [ "(" Term_Comma_list ")" ] . Optional_term = "[" Opt_labeled_term_Sandwich "]" . Adjacency_Nlist ~ Adjacency { Adjacency } . Vertex_Comma_list ~ Vertex { "," Vertex } . Any_vertex_List ~ { Any_vertex } . Term_Bar_list ~ Term { "|" Term } . Kernel_Sandwich = Syntax_vertex_List Kernel Syntax_vertex_List . Term_Sandwich = Syntax_vertex_List Term Syntax_vertex_List . Term_Comma_list ~ Term { "," Term } . Opt_labeled_term_Sandwich = Syntax_vertex_List Opt_labeled_term Syntax_vertex_List . Syntax_vertex_List ~ { Syntax_vertex } . *terminal_sets* DemText , DemReal , DemString , DemIdent , DemNumber .