Esempio n. 1
0
        private ParameterSequenceNode Parameters()
        {
            ParameterSequenceNode itsAST;
            SourceCodePosition    itsPos = _currentToken.SourcePosition;

            if (Array.Exists(_typeFirstSet, e => e == _currentToken.Type))
            {
                itsAST = ParseParameters();
            }
            else
            {
                itsAST = new EmptyParameterSequenceNode(itsPos);
            }
            return(itsAST);
        }
Esempio n. 2
0
 public object Visit(EmptyParameterSequenceNode n, object o)
 {
     return(null);
 }