From 0a550c3bb4e624d76b3876e92a2bd0e235301fba Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 9 Apr 2016 14:21:48 +0100 Subject: Remove MethodTypeParameter and adjust Identifier generation --- .../couscous/ast/identifiers/IdentifierPart.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/java/org/zwobble/couscous/ast/identifiers/IdentifierPart.java (limited to 'src/main/java/org/zwobble/couscous/ast/identifiers/IdentifierPart.java') diff --git a/src/main/java/org/zwobble/couscous/ast/identifiers/IdentifierPart.java b/src/main/java/org/zwobble/couscous/ast/identifiers/IdentifierPart.java new file mode 100644 index 0000000..5aedcf0 --- /dev/null +++ b/src/main/java/org/zwobble/couscous/ast/identifiers/IdentifierPart.java @@ -0,0 +1,19 @@ +package org.zwobble.couscous.ast.identifiers; + +public class IdentifierPart { + private final String name; + private final IdentifierType type; + + public IdentifierPart(String name, IdentifierType type) { + this.name = name; + this.type = type; + } + + public String getName() { + return name; + } + + public IdentifierType getType() { + return type; + } +} -- cgit v1.2.3