All files / generator LLVMType.js

0% Statements 0/3
0% Branches 0/2
0% Functions 0/2
0% Lines 0/3
1 2 3 4 5 6 7 8 9 10 11 12 13                         
export default class LLVMType {
    /**
     * @param {LLVMType|LLVMIdentifier|LLVMVector|LLVMIntType}
     */
    constructor(root: LLVMType, isPointer: bool) {
        this.root = root;
        this.isPointer = isPointer;
    }
    
    generate() {
        return this.root.generate() + (this.isPointer ? "*" : "")
    }
}