Skip to content
Lucas Werkmeister edited this page Nov 19, 2017 · 2 revisions

When doing any changes to a node type (add children, replace children, add flags, whatever), don’t forget to update at least the following:

  • ceylon.ast.core
    • textual description in the ceylondoc comment (“that is, …”)
    • examples (add one)
    • initializer arguments
    • shared members (corresponding to initializer arguments)
    • children
    • equals
    • hash
    • copy
      • argument list
      • instantiation
    • CeylonExpressionTransformer (if it’s not the common case and the node still defaults to the old version, consider producing the old code in the common case)
    • Editor
  • ceylon.ast.redhat
    • toCeylon transformation
    • RedHatTransformer
  • test.ceylon.ast.redhat
    • construct
    • new test case
    • codes (add new test case)

Also, consider updating the following:

  • ceylon.ast.samples
    • completeCompilationUnit
Clone this wiki locally