if (arity > 0) {
nT = makeName(NameTok.ImportModule);
} else {
nT = new NameTok("", NameTok.ImportModule);
Object temporaryTok = this.stack.getGrammar().temporaryToken;
ISpecialStr temporaryToken;
if (temporaryTok instanceof ISpecialStr) {
temporaryToken = (ISpecialStr) temporaryTok;
} else {
//must be a Token
temporaryToken = ((Token) temporaryTok).asSpecialStr();
}
if (temporaryToken.toString().equals("from")) {
nT.beginColumn = temporaryToken.getBeginCol();
nT.beginLine = temporaryToken.getBeginLine();
} else {
Log.log("Expected to find 'from' token as the current temporary token (begin col/line can be wrong)!");
}
}
return new ImportFrom((NameTokType) nT, aliastL.toArray(new aliasType[0]), 0);