MCPcopy Create free account
hub / github.com/acsoto/BUAA-Compiler / Function

Class Function

src/Function.java:3–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import java.util.ArrayList;
2
3public class Function {
4 private String content;
5 private String returnType;
6 private ArrayList<Integer> paras;
7
8 public Function(Word word, String returnType) {
9 this.content = word.getContent();
10 this.returnType = returnType;
11 }
12
13 public ArrayList<Integer> getParas() {
14 return paras;
15 }
16
17 public void setParas(ArrayList<Integer> paras) {
18 this.paras = paras;
19 }
20
21 public String getContent() {
22 return content;
23 }
24
25 public String getReturnType() {
26 return returnType;
27 }
28
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected