Interface ILessParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by LessParser.
Namespace: GCore.Antlr.Grammers.Less
Assembly: Less.dll
Syntax
public interface ILessParserVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAttrib(LessParser.AttribContext)
Visit a parse tree produced by attrib().
Declaration
Result VisitAttrib(LessParser.AttribContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.AttribContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAttribRelate(LessParser.AttribRelateContext)
Visit a parse tree produced by attribRelate().
Declaration
Result VisitAttribRelate(LessParser.AttribRelateContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.AttribRelateContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock(LessParser.BlockContext)
Visit a parse tree produced by block().
Declaration
Result VisitBlock(LessParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommandStatement(LessParser.CommandStatementContext)
Visit a parse tree produced by commandStatement().
Declaration
Result VisitCommandStatement(LessParser.CommandStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.CommandStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCondition(LessParser.ConditionContext)
Visit a parse tree produced by condition().
Declaration
Result VisitCondition(LessParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ConditionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConditions(LessParser.ConditionsContext)
Visit a parse tree produced by conditions().
Declaration
Result VisitConditions(LessParser.ConditionsContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ConditionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConditionStatement(LessParser.ConditionStatementContext)
Visit a parse tree produced by conditionStatement().
Declaration
Result VisitConditionStatement(LessParser.ConditionStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ConditionStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElement(LessParser.ElementContext)
Visit a parse tree produced by element().
Declaration
Result VisitElement(LessParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(LessParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(LessParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunction_(LessParser.Function_Context)
Visit a parse tree produced by function_().
Declaration
Result VisitFunction_(LessParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.Function_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(LessParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(LessParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifierPart(LessParser.IdentifierPartContext)
Visit a parse tree produced by identifierPart().
Declaration
Result VisitIdentifierPart(LessParser.IdentifierPartContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.IdentifierPartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifierVariableName(LessParser.IdentifierVariableNameContext)
Visit a parse tree produced by identifierVariableName().
Declaration
Result VisitIdentifierVariableName(LessParser.IdentifierVariableNameContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.IdentifierVariableNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportDeclaration(LessParser.ImportDeclarationContext)
Visit a parse tree produced by importDeclaration().
Declaration
Result VisitImportDeclaration(LessParser.ImportDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ImportDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportOption(LessParser.ImportOptionContext)
Visit a parse tree produced by importOption().
Declaration
Result VisitImportOption(LessParser.ImportOptionContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ImportOptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMathCharacter(LessParser.MathCharacterContext)
Visit a parse tree produced by mathCharacter().
Declaration
Result VisitMathCharacter(LessParser.MathCharacterContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MathCharacterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMathStatement(LessParser.MathStatementContext)
Visit a parse tree produced by mathStatement().
Declaration
Result VisitMathStatement(LessParser.MathStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MathStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMeasurement(LessParser.MeasurementContext)
Visit a parse tree produced by measurement().
Declaration
Result VisitMeasurement(LessParser.MeasurementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MeasurementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMediaTypes(LessParser.MediaTypesContext)
Visit a parse tree produced by mediaTypes().
Declaration
Result VisitMediaTypes(LessParser.MediaTypesContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MediaTypesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMixinDefinition(LessParser.MixinDefinitionContext)
Visit a parse tree produced by mixinDefinition().
Declaration
Result VisitMixinDefinition(LessParser.MixinDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MixinDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMixinDefinitionParam(LessParser.MixinDefinitionParamContext)
Visit a parse tree produced by mixinDefinitionParam().
Declaration
Result VisitMixinDefinitionParam(LessParser.MixinDefinitionParamContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MixinDefinitionParamContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMixinGuard(LessParser.MixinGuardContext)
Visit a parse tree produced by mixinGuard().
Declaration
Result VisitMixinGuard(LessParser.MixinGuardContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MixinGuardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMixinReference(LessParser.MixinReferenceContext)
Visit a parse tree produced by mixinReference().
Declaration
Result VisitMixinReference(LessParser.MixinReferenceContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.MixinReferenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNegation(LessParser.NegationContext)
Visit a parse tree produced by negation().
Declaration
Result VisitNegation(LessParser.NegationContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.NegationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProperty_(LessParser.Property_Context)
Visit a parse tree produced by property_().
Declaration
Result VisitProperty_(LessParser.Property_Context context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.Property_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPseudo(LessParser.PseudoContext)
Visit a parse tree produced by pseudo().
Declaration
Result VisitPseudo(LessParser.PseudoContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.PseudoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReferenceUrl(LessParser.ReferenceUrlContext)
Visit a parse tree produced by referenceUrl().
Declaration
Result VisitReferenceUrl(LessParser.ReferenceUrlContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ReferenceUrlContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRuleset(LessParser.RulesetContext)
Visit a parse tree produced by ruleset().
Declaration
Result VisitRuleset(LessParser.RulesetContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.RulesetContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSelector(LessParser.SelectorContext)
Visit a parse tree produced by selector().
Declaration
Result VisitSelector(LessParser.SelectorContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.SelectorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSelectorPrefix(LessParser.SelectorPrefixContext)
Visit a parse tree produced by selectorPrefix().
Declaration
Result VisitSelectorPrefix(LessParser.SelectorPrefixContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.SelectorPrefixContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSelectors(LessParser.SelectorsContext)
Visit a parse tree produced by selectors().
Declaration
Result VisitSelectors(LessParser.SelectorsContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.SelectorsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatement(LessParser.StatementContext)
Visit a parse tree produced by statement().
Declaration
Result VisitStatement(LessParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.StatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStylesheet(LessParser.StylesheetContext)
Visit a parse tree produced by stylesheet().
Declaration
Result VisitStylesheet(LessParser.StylesheetContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.StylesheetContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUrl(LessParser.UrlContext)
Visit a parse tree produced by url().
Declaration
Result VisitUrl(LessParser.UrlContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.UrlContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValues(LessParser.ValuesContext)
Visit a parse tree produced by values().
Declaration
Result VisitValues(LessParser.ValuesContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.ValuesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDeclaration(LessParser.VariableDeclarationContext)
Visit a parse tree produced by variableDeclaration().
Declaration
Result VisitVariableDeclaration(LessParser.VariableDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.VariableDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableName(LessParser.VariableNameContext)
Visit a parse tree produced by variableName().
Declaration
Result VisitVariableName(LessParser.VariableNameContext context)
Parameters
Type | Name | Description |
---|---|---|
LessParser.VariableNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |