Skip to content

Commit

Permalink
Add some simple documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb committed Feb 14, 2018
1 parent 1e7fcdf commit cd3b14d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/ClassSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated `class` declaration. */
class ClassSpec
private constructor(
builder: Builder
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/DecoratorSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated function or class decorator declaration. */
class DecoratorSpec
internal constructor(
builder: Builder
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/EnumSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated `enum` declaration. */
class EnumSpec
private constructor(
builder: Builder
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/outfoxx/typescriptpoet/FunctionSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
package io.outfoxx.typescriptpoet


class FunctionSpec private constructor(builder: Builder) {
/** A generated function declaration. */
class FunctionSpec
private constructor(
builder: Builder
) {
val name = builder.name
val javaDoc = builder.javaDoc.build()
val decorators = builder.decorators.toImmutableList()
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/InterfaceSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated `interface` declaration. */
class InterfaceSpec
private constructor(
builder: Builder
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/Modifier.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** Available declaration modifiers. */
enum class Modifier {
EXPORT,
PUBLIC,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/ModuleSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated `module` declaration. */
class ModuleSpec
private constructor(
builder: Builder
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/outfoxx/typescriptpoet/PropertySpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.outfoxx.typescriptpoet


/** A generated property declaration. */
class PropertySpec
private constructor(
builder: Builder
Expand Down

0 comments on commit cd3b14d

Please sign in to comment.