public virtual object VisitExternAliasDirectiveNode(ExternAliasDirectiveNode externAliasDirectiveNode, object data) { stackMap.Push(externAliasDirectiveNode); externAliasDirectiveNode.Attributes.AcceptVisitor(this, data); externAliasDirectiveNode.ExternAliasName.AcceptVisitor(this, data); stackMap.Pop(); return(null); }
private void ParseExternAlias() { Advance(); // over extern if (curtok.ID != TokenID.Ident || strings[curtok.Data] != "alias") ReportError("Expected 'alias', but found: " + curtok.ID, curtok); Advance(); // over alias ExternAliasDirectiveNode node = new ExternAliasDirectiveNode(curtok); node.ExternAliasName = ParseIdentifierOrKeyword(false, false, false, false, false); namespaceStack.Peek().ExternAliases.Add(node); }
private void ParseExternAlias() { AssertAndAdvance(TokenID.Extern); AssertAndAdvance(TokenID.Alias); ExternAliasDirectiveNode node = new ExternAliasDirectiveNode(curtok); node.ExternAliasName = ParseIdentifierOrKeyword(false, false, false, false); namespaceStack.Peek().ExternAliases.Add(node); }
public virtual object VisitExternAliasDirectiveNode(ExternAliasDirectiveNode externAliasDirectiveNode, object data) { stackMap.Push(externAliasDirectiveNode); externAliasDirectiveNode.Attributes.AcceptVisitor(this, data); externAliasDirectiveNode.ExternAliasName.AcceptVisitor(this, data); stackMap.Pop(); return null; }