public Collection<String> getNamesFromArgAction(Token t) { AttributeScope returnScope = grammar.createReturnScope("",t); returnScope.addAttributes(t.getText(), ','); return returnScope.attributes.keySet(); }
public Collection<String> getNamesFromArgAction(Token t) { AttributeScope returnScope = grammar.createReturnScope("",t); returnScope.addAttributes(t.getText(), ','); return returnScope.attributes.keySet(); }
AttributeScope scope = grammar.defineGlobalScope((name!=null?name.getText():null),attrs.getToken()); scope.isDynamicGlobalScope = true; scope.addAttributes((attrs!=null?attrs.getText():null), ';'); for (GrammarAST action : AttributeScopeActions_stack.peek().actions.keySet()) scope.defineNamedAction(action, AttributeScopeActions_stack.peek().actions.get(action));
AttributeScope scope = grammar.defineGlobalScope((name!=null?name.getText():null),attrs.getToken()); scope.isDynamicGlobalScope = true; scope.addAttributes((attrs!=null?attrs.getText():null), ';'); for (GrammarAST action : AttributeScopeActions_stack.peek().actions.keySet()) scope.defineNamedAction(action, AttributeScopeActions_stack.peek().actions.get(action));
r.ruleScope = grammar.createRuleScope(r.name,attrs.getToken()); r.ruleScope.isDynamicRuleScope = true; r.ruleScope.addAttributes((attrs!=null?attrs.getText():null), ';'); for (GrammarAST action : AttributeScopeActions_stack.peek().actions.keySet()) r.ruleScope.defineNamedAction(action, AttributeScopeActions_stack.peek().actions.get(action));
r.ruleScope = grammar.createRuleScope(r.name,attrs.getToken()); r.ruleScope.isDynamicRuleScope = true; r.ruleScope.addAttributes((attrs!=null?attrs.getText():null), ';'); for (GrammarAST action : AttributeScopeActions_stack.peek().actions.keySet()) r.ruleScope.defineNamedAction(action, AttributeScopeActions_stack.peek().actions.get(action));
scope.addAttributes(attrs.getText(), ';');
r.ruleScope.addAttributes(attrs.getText(), ';');
if ( args!=null ) { r.parameterScope = grammar.createParameterScope(name,args.token); r.parameterScope.addAttributes(args.getText(), ','); r.returnScope.addAttributes(ret.getText(), ',');
r.parameterScope.addAttributes((args!=null?args.getText():null), ','); r.returnScope.addAttributes((ret!=null?ret.getText():null), ',');
r.parameterScope.addAttributes((args!=null?args.getText():null), ','); r.returnScope.addAttributes((ret!=null?ret.getText():null), ',');