Skip to content

Commit

Permalink
Merge pull request #145 from kcl-lang/feat-update-java-ast-index-sign…
Browse files Browse the repository at this point in the history
…ature-key-node

feat: update kcl java ast schema index signature key node
  • Loading branch information
Peefy authored Sep 16, 2024
2 parents cb06050 + 7beedd8 commit 7915feb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java/src/main/java/com/kcl/ast/SchemaIndexSignature.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
public class SchemaIndexSignature {
@JsonProperty("key_name")
private String keyName;
private NodeRef<String> keyName;

@JsonProperty("value")
private NodeRef<Expr> value;
Expand All @@ -28,11 +28,11 @@ public class SchemaIndexSignature {
@JsonProperty("value_ty")
private NodeRef<Type> valueTy;

public String getKeyName() {
public NodeRef<String> getKeyName() {
return keyName;
}

public void setKeyName(String keyName) {
public void setKeyName(NodeRef<String> keyName) {
this.keyName = keyName;
}

Expand Down

0 comments on commit 7915feb

Please sign in to comment.