Skip to content

Instantly share code, notes, and snippets.

@I82Much
Created April 7, 2011 18:33
Show Gist options
  • Save I82Much/908394 to your computer and use it in GitHub Desktop.
Save I82Much/908394 to your computer and use it in GitHub Desktop.
group ClassDefinition;
class(name, number, description, classAttributes, classComments, package)::=<<
$packageDeclaration(package)$
$imports(...)$
$header()$
$startBlockComment()$
$classComments; format="comment"$
$endBlockComment()$
$classDeclaration(className=name, parentClass=parentClass)$ $startBlock()$
$initialValues(initialValues)$
$singleLineComment()$ Variable declarations
$declarations(classAttributes)$
$enumeratedValueDeclarations(classAttributes)$
$singleLineComment()$ Constant range values, as well as fixed list / String lengths
$rangeDeclarations(classAttributes)$
$scalingFactors(classAttributes)$
$constructors(classAttributes)$
$setters(classAttributes)$
$getters(classAttributes)$
$marshal(classAttributes)$
$unmarshal(classAttributes)$
$listLengthGetters(classAttributes)$
$toString(className=name, variables=classAttributes)$
$getMarshalledSize(classAttributes)$
$endBlock()$
$footer(...)$
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment