//Automaton name = localname!= null ? context.getAutomatonFromStringExp(localname) : null;
String ns = namespace!=null ? context.getConstantString(namespace.getValue()) : null;
//if (ns!=null && name!=null)
// name = Automaton.makeString('{' + ns + '}').concatenate(name);
hardcodeResult = context.getLocal(((Local)result).getName());
cfg.addStatement(addStringStatement(new NodeStm(kind, hardcodeResult,
null,
null,
firstchild!=null ? translateOrEmptyIfNull(firstchild.getValue()) : null,
firstattr!=null ? translateOrEmptyIfNull(firstattr.getValue()) : null,
gap!=null ? context.getConstantString(gap) : null,