Jump to content

More details on component declaration


Recommended Posts

Per 1.0 release, the component declaration in DSL syntax is as follow:

component_declaration ::= component component_identifier [ : component_super_spec ] { { component_body_item } } [ ; ]
component_super_spec ::= : type_identifier

Hence when declaring component with a super, is it has that to be double ":"?

component DMA_child_c :: DMA_parent {
	bla
	bla
}

 

Link to comment
Share on other sites

  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...