private DeclaringSequenceNode MethodDeclarings() { DeclaringSequenceNode itsAST; SourceCodePosition itsPos = _currentToken.SourcePosition; if (_currentToken.Type == Token.TokenType.Method) { itsAST = ParseMethodDeclarings(); } else { itsAST = new EmptyDeclaringSequenceNode(itsPos); } return(itsAST); }
private DeclaringSequenceNode Implements() { DeclaringSequenceNode itsAST; SourceCodePosition itsPos = _currentToken.SourcePosition; if (_currentToken.Type == Token.TokenType.Implements) { Accept(Token.TokenType.Implements); itsAST = ParseImplements(); } else { itsAST = new EmptyDeclaringSequenceNode(itsPos); } return(itsAST); }
public object Visit(EmptyDeclaringSequenceNode n, object o) { return(null); }