⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 regexpanalyzer.cs

📁 Grammatica is a C# and Java parser generator (compiler compiler). It improves upon simlar tools (lik
💻 CS
📖 第 1 页 / 共 2 页
字号:
         */        public virtual void EnterPlus(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitPlus(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterVerticalBar(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitVerticalBar(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterDot(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitDot(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterComma(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitComma(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterNumber(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitNumber(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterChar(Token node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitChar(Token node) {            return node;        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterExpr(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitExpr(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildExpr(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterTerm(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitTerm(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildTerm(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterFact(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitFact(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildFact(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterAtom(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitAtom(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildAtom(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterAtomModifier(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitAtomModifier(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildAtomModifier(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterCharacterSet(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitCharacterSet(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildCharacterSet(Production node, Node child) {            node.AddChild(child);        }        /**         * <summary>Called when entering a parse tree node.</summary>         *          * <param name='node'>the node being entered</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void EnterCharacter(Production node) {        }        /**         * <summary>Called when exiting a parse tree node.</summary>         *          * <param name='node'>the node being exited</param>         *          * <returns>the node to add to the parse tree, or         *          null if no parse tree should be created</returns>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual Node ExitCharacter(Production node) {            return node;        }        /**         * <summary>Called when adding a child to a parse tree         * node.</summary>         *          * <param name='node'>the parent node</param>         * <param name='child'>the child node, or null</param>         *          * <exception cref='ParseException'>if the node analysis         * discovered errors</exception>         */        public virtual void ChildCharacter(Production node, Node child) {            node.AddChild(child);        }    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -