Interface ISmalltalkVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by SmalltalkParser.
Namespace: GCore.Antlr.Grammers.Smalltalk
Assembly: Smalltalk.dll
Syntax
public interface ISmalltalkVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAnswer(SmalltalkParser.AnswerContext)
Visit a parse tree produced by answer().
Declaration
Result VisitAnswer(SmalltalkParser.AnswerContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.AnswerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssignment(SmalltalkParser.AssignmentContext)
Visit a parse tree produced by assignment().
Declaration
Result VisitAssignment(SmalltalkParser.AssignmentContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.AssignmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBareLiteralArray(SmalltalkParser.BareLiteralArrayContext)
Visit a parse tree produced by bareLiteralArray().
Declaration
Result VisitBareLiteralArray(SmalltalkParser.BareLiteralArrayContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BareLiteralArrayContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBareSymbol(SmalltalkParser.BareSymbolContext)
Visit a parse tree produced by bareSymbol().
Declaration
Result VisitBareSymbol(SmalltalkParser.BareSymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BareSymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBinaryMessage(SmalltalkParser.BinaryMessageContext)
Visit a parse tree produced by binaryMessage().
Declaration
Result VisitBinaryMessage(SmalltalkParser.BinaryMessageContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BinaryMessageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBinarySend(SmalltalkParser.BinarySendContext)
Visit a parse tree produced by binarySend().
Declaration
Result VisitBinarySend(SmalltalkParser.BinarySendContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BinarySendContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBinaryTail(SmalltalkParser.BinaryTailContext)
Visit a parse tree produced by binaryTail().
Declaration
Result VisitBinaryTail(SmalltalkParser.BinaryTailContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BinaryTailContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock(SmalltalkParser.BlockContext)
Visit a parse tree produced by block().
Declaration
Result VisitBlock(SmalltalkParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlockParamList(SmalltalkParser.BlockParamListContext)
Visit a parse tree produced by blockParamList().
Declaration
Result VisitBlockParamList(SmalltalkParser.BlockParamListContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.BlockParamListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCascade(SmalltalkParser.CascadeContext)
Visit a parse tree produced by cascade().
Declaration
Result VisitCascade(SmalltalkParser.CascadeContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.CascadeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharConstant(SmalltalkParser.CharConstantContext)
Visit a parse tree produced by charConstant().
Declaration
Result VisitCharConstant(SmalltalkParser.CharConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.CharConstantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDynamicArray(SmalltalkParser.DynamicArrayContext)
Visit a parse tree produced by dynamicArray().
Declaration
Result VisitDynamicArray(SmalltalkParser.DynamicArrayContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.DynamicArrayContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDynamicDictionary(SmalltalkParser.DynamicDictionaryContext)
Visit a parse tree produced by dynamicDictionary().
Declaration
Result VisitDynamicDictionary(SmalltalkParser.DynamicDictionaryContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.DynamicDictionaryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(SmalltalkParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(SmalltalkParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpressionList(SmalltalkParser.ExpressionListContext)
Visit a parse tree produced by expressionList().
Declaration
Result VisitExpressionList(SmalltalkParser.ExpressionListContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ExpressionListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpressions(SmalltalkParser.ExpressionsContext)
Visit a parse tree produced by expressions().
Declaration
Result VisitExpressions(SmalltalkParser.ExpressionsContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ExpressionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHex_(SmalltalkParser.Hex_Context)
Visit a parse tree produced by hex_().
Declaration
Result VisitHex_(SmalltalkParser.Hex_Context context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.Hex_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeywordMessage(SmalltalkParser.KeywordMessageContext)
Visit a parse tree produced by keywordMessage().
Declaration
Result VisitKeywordMessage(SmalltalkParser.KeywordMessageContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.KeywordMessageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeywordPair(SmalltalkParser.KeywordPairContext)
Visit a parse tree produced by keywordPair().
Declaration
Result VisitKeywordPair(SmalltalkParser.KeywordPairContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.KeywordPairContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeywords(SmalltalkParser.KeywordsContext)
Visit a parse tree produced by keywords().
Declaration
Result VisitKeywords(SmalltalkParser.KeywordsContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.KeywordsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeywordSend(SmalltalkParser.KeywordSendContext)
Visit a parse tree produced by keywordSend().
Declaration
Result VisitKeywordSend(SmalltalkParser.KeywordSendContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.KeywordSendContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral(SmalltalkParser.LiteralContext)
Visit a parse tree produced by literal().
Declaration
Result VisitLiteral(SmalltalkParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.LiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteralArray(SmalltalkParser.LiteralArrayContext)
Visit a parse tree produced by literalArray().
Declaration
Result VisitLiteralArray(SmalltalkParser.LiteralArrayContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.LiteralArrayContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteralArrayRest(SmalltalkParser.LiteralArrayRestContext)
Visit a parse tree produced by literalArrayRest().
Declaration
Result VisitLiteralArrayRest(SmalltalkParser.LiteralArrayRestContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.LiteralArrayRestContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessage(SmalltalkParser.MessageContext)
Visit a parse tree produced by message().
Declaration
Result VisitMessage(SmalltalkParser.MessageContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.MessageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(SmalltalkParser.NumberContext)
Visit a parse tree produced by number().
Declaration
Result VisitNumber(SmalltalkParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumberExp(SmalltalkParser.NumberExpContext)
Visit a parse tree produced by numberExp().
Declaration
Result VisitNumberExp(SmalltalkParser.NumberExpContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.NumberExpContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperand(SmalltalkParser.OperandContext)
Visit a parse tree produced by operand().
Declaration
Result VisitOperand(SmalltalkParser.OperandContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.OperandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParsetimeLiteral(SmalltalkParser.ParsetimeLiteralContext)
Visit a parse tree produced by parsetimeLiteral().
Declaration
Result VisitParsetimeLiteral(SmalltalkParser.ParsetimeLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ParsetimeLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrimitive(SmalltalkParser.PrimitiveContext)
Visit a parse tree produced by primitive().
Declaration
Result VisitPrimitive(SmalltalkParser.PrimitiveContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.PrimitiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPseudoVariable(SmalltalkParser.PseudoVariableContext)
Visit a parse tree produced by pseudoVariable().
Declaration
Result VisitPseudoVariable(SmalltalkParser.PseudoVariableContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.PseudoVariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReference(SmalltalkParser.ReferenceContext)
Visit a parse tree produced by reference().
Declaration
Result VisitReference(SmalltalkParser.ReferenceContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ReferenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRuntimeLiteral(SmalltalkParser.RuntimeLiteralContext)
Visit a parse tree produced by runtimeLiteral().
Declaration
Result VisitRuntimeLiteral(SmalltalkParser.RuntimeLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.RuntimeLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScript(SmalltalkParser.ScriptContext)
Visit a parse tree produced by script().
Declaration
Result VisitScript(SmalltalkParser.ScriptContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.ScriptContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSequence(SmalltalkParser.SequenceContext)
Visit a parse tree produced by sequence().
Declaration
Result VisitSequence(SmalltalkParser.SequenceContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.SequenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatementAnswer(SmalltalkParser.StatementAnswerContext)
Visit a parse tree produced by the StatementAnswer
labeled alternative in statements().
Declaration
Result VisitStatementAnswer(SmalltalkParser.StatementAnswerContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StatementAnswerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatementExpressions(SmalltalkParser.StatementExpressionsContext)
Visit a parse tree produced by the StatementExpressions
labeled alternative in statements().
Declaration
Result VisitStatementExpressions(SmalltalkParser.StatementExpressionsContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StatementExpressionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatementExpressionsAnswer(SmalltalkParser.StatementExpressionsAnswerContext)
Visit a parse tree produced by the StatementExpressionsAnswer
labeled alternative in statements().
Declaration
Result VisitStatementExpressionsAnswer(SmalltalkParser.StatementExpressionsAnswerContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StatementExpressionsAnswerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStFloat(SmalltalkParser.StFloatContext)
Visit a parse tree produced by stFloat().
Declaration
Result VisitStFloat(SmalltalkParser.StFloatContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StFloatContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStInteger(SmalltalkParser.StIntegerContext)
Visit a parse tree produced by stInteger().
Declaration
Result VisitStInteger(SmalltalkParser.StIntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StIntegerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString(SmalltalkParser.StringContext)
Visit a parse tree produced by
Declaration
Result VisitString(SmalltalkParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.StringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSubexpression(SmalltalkParser.SubexpressionContext)
Visit a parse tree produced by subexpression().
Declaration
Result VisitSubexpression(SmalltalkParser.SubexpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.SubexpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSymbol(SmalltalkParser.SymbolContext)
Visit a parse tree produced by symbol().
Declaration
Result VisitSymbol(SmalltalkParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.SymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTemps(SmalltalkParser.TempsContext)
Visit a parse tree produced by temps().
Declaration
Result VisitTemps(SmalltalkParser.TempsContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.TempsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnaryMessage(SmalltalkParser.UnaryMessageContext)
Visit a parse tree produced by unaryMessage().
Declaration
Result VisitUnaryMessage(SmalltalkParser.UnaryMessageContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.UnaryMessageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnarySelector(SmalltalkParser.UnarySelectorContext)
Visit a parse tree produced by unarySelector().
Declaration
Result VisitUnarySelector(SmalltalkParser.UnarySelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.UnarySelectorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnarySend(SmalltalkParser.UnarySendContext)
Visit a parse tree produced by unarySend().
Declaration
Result VisitUnarySend(SmalltalkParser.UnarySendContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.UnarySendContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnaryTail(SmalltalkParser.UnaryTailContext)
Visit a parse tree produced by unaryTail().
Declaration
Result VisitUnaryTail(SmalltalkParser.UnaryTailContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.UnaryTailContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(SmalltalkParser.VariableContext)
Visit a parse tree produced by variable().
Declaration
Result VisitVariable(SmalltalkParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWs(SmalltalkParser.WsContext)
Visit a parse tree produced by ws().
Declaration
Result VisitWs(SmalltalkParser.WsContext context)
Parameters
Type | Name | Description |
---|---|---|
SmalltalkParser.WsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |