public override void EnterRule(IParseTreeListener listener) { ISomeLanguageListener typedListener = listener as ISomeLanguageListener; if (typedListener != null) { typedListener.EnterMethodName(this); } }
public override void ExitRule(IParseTreeListener listener) { ISomeLanguageListener typedListener = listener as ISomeLanguageListener; if (typedListener != null) { typedListener.ExitInstruction(this); } }
public override void EnterRule(IParseTreeListener listener) { ISomeLanguageListener typedListener = listener as ISomeLanguageListener; if (typedListener != null) { typedListener.EnterClassDeclaration(this); } }