Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLATFORM-12287 - Introduce class MacroExpressionVisitor which encapsu… #4

Merged
merged 1 commit into from
Oct 15, 2018

Conversation

manhhungtran
Copy link

…lates KSharpVisitor

@manhhungtran manhhungtran added the enhancement New feature or request label Jul 27, 2018
@manhhungtran manhhungtran self-assigned this Jul 27, 2018
return visitor.Visit(tree);
}

throw new ArgumentException($"Given parameter {nameof(tree)} must be of type {typeof(Begin_expressionContext).FullName}.");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a bit unusual to throw an exception in the "main" part of the body - there should reside the "main" code of the method (aka vistor.Visit), but I that is just a tiny detail I guess 😉

@PetrSvirak PetrSvirak merged commit baf0c39 into develop Oct 15, 2018
@PetrSvirak PetrSvirak deleted the feature/facade branch October 15, 2018 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants