getInputType method
dynamic
getInputType(
- dynamic builder
Implementation
getInputType(builder) {
var aType = this.aNode.getNodeType(builder);
var bType = this.bNode ? this.bNode.getNodeType(builder) : null;
var cType = this.cNode ? this.cNode.getNodeType(builder) : null;
var aLen = builder.getTypeLength(aType);
var bLen = builder.getTypeLength(bType);
var cLen = builder.getTypeLength(cType);
if (aLen > bLen && aLen > cLen) {
return aType;
} else if (bLen > cLen) {
return bType;
} else if (cLen > aLen) {
return cType;
}
return aType;
}