aboutsummaryrefslogtreecommitdiffstats
path: root/main/core/tokenizer/token/ArgumentInfo.java
blob: a9c3d90c88d8bdb83e2846c02acae53e9e5b1811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.jantuomi.interpreter.main.core.tokenizer.token;

/**
 * Created by jan on 15.6.2016.
 */
public class ArgumentInfo {
    private int count = 0;
    private boolean isVarargs = false;
    public ArgumentInfo(int count) {
        this.count = count;
    }

    public ArgumentInfo() {

    }

    public void setVariable(boolean value) {
        this.isVarargs = value;
    }

    public boolean getVarargs() {
        return isVarargs;
    }

    public int getCount() {
        return count;
    }
}