Skip to content

Northover/FluentAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple AST transformation that automatically allows a user to modify an object's properties "fluidly."
This effectively allows builder-like method chaining.

For example:

import northover.*

@Fluent
class Person{
    def first
    def last
    int telephone
}

def person = new Person().setFirst("Joe").setLast("Smith").setTelephone(123456789)

About

Groovy Fluent AST Transformation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages