less

package
v0.0.0-...-4c43aeb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Example
package main

import (
	"bramp.net/antlr4/less"

	"fmt"
	"github.com/antlr/antlr4/runtime/Go/antlr"
)

type exampleListener struct {
	*less.BaseLessParserListener
}

func (l *exampleListener) EnterEveryRule(ctx antlr.ParserRuleContext) {
	fmt.Println(ctx.GetText())
}
func main() {
	// Setup the input
	is := antlr.NewInputStream("...some text to parse...")

	// Create the Lexer
	lexer := less.NewLessLexer(is)
	stream := antlr.NewCommonTokenStream(lexer, antlr.TokenDefaultChannel)

	// Create the Parser
	p := less.NewLessParser(stream)
	p.BuildParseTrees = true
	p.AddErrorListener(antlr.NewDiagnosticErrorListener(true))

	// Finally walk the tree
	tree := p.Stylesheet()
	antlr.ParseTreeWalkerDefault.Walk(&exampleListener{}, tree)
}
Output:

Index

Examples

Constants

View Source
const (
	LessLexerNULL                    = 1
	LessLexerIN                      = 2
	LessLexerUnit                    = 3
	LessLexerEllipsis                = 4
	LessLexerInterpolationStart      = 5
	LessLexerLPAREN                  = 6
	LessLexerRPAREN                  = 7
	LessLexerBlockStart              = 8
	LessLexerBlockEnd                = 9
	LessLexerLBRACK                  = 10
	LessLexerRBRACK                  = 11
	LessLexerGT                      = 12
	LessLexerTIL                     = 13
	LessLexerLT                      = 14
	LessLexerCOLON                   = 15
	LessLexerSEMI                    = 16
	LessLexerCOMMA                   = 17
	LessLexerDOT                     = 18
	LessLexerDOLLAR                  = 19
	LessLexerAT                      = 20
	LessLexerPARENTREF               = 21
	LessLexerHASH                    = 22
	LessLexerCOLONCOLON              = 23
	LessLexerPLUS                    = 24
	LessLexerTIMES                   = 25
	LessLexerDIV                     = 26
	LessLexerMINUS                   = 27
	LessLexerPERC                    = 28
	LessLexerEQEQ                    = 29
	LessLexerGTEQ                    = 30
	LessLexerLTEQ                    = 31
	LessLexerNOTEQ                   = 32
	LessLexerEQ                      = 33
	LessLexerPIPE_EQ                 = 34
	LessLexerTILD_EQ                 = 35
	LessLexerURL                     = 36
	LessLexerUrlStart                = 37
	LessLexerIMPORT                  = 38
	LessLexerMEDIA                   = 39
	LessLexerEXTEND                  = 40
	LessLexerIMPORTANT               = 41
	LessLexerARGUMENTS               = 42
	LessLexerREST                    = 43
	LessLexerREFERENCE               = 44
	LessLexerINLINE                  = 45
	LessLexerLESS                    = 46
	LessLexerCSS                     = 47
	LessLexerONCE                    = 48
	LessLexerMULTIPLE                = 49
	LessLexerWHEN                    = 50
	LessLexerNOT                     = 51
	LessLexerAND                     = 52
	LessLexerIdentifier              = 53
	LessLexerStringLiteral           = 54
	LessLexerNumber                  = 55
	LessLexerColor                   = 56
	LessLexerWS                      = 57
	LessLexerSL_COMMENT              = 58
	LessLexerCOMMENT                 = 59
	LessLexerFUNCTION_NAME           = 60
	LessLexerCOLOR                   = 61
	LessLexerCONVERT                 = 62
	LessLexerDATA_URI                = 63
	LessLexerDEFAULT                 = 64
	LessLexerUNIT                    = 65
	LessLexerGET_UNIT                = 66
	LessLexerSVG_GRADIENT            = 67
	LessLexerESCAPE                  = 68
	LessLexerE                       = 69
	LessLexerFORMAT                  = 70
	LessLexerREPLACE                 = 71
	LessLexerLENGTH                  = 72
	LessLexerEXTRACT                 = 73
	LessLexerCEIL                    = 74
	LessLexerFLOOR                   = 75
	LessLexerPERCENTAGE              = 76
	LessLexerROUND                   = 77
	LessLexerSQRT                    = 78
	LessLexerABS                     = 79
	LessLexerSIN                     = 80
	LessLexerASIN                    = 81
	LessLexerCOS                     = 82
	LessLexerACOS                    = 83
	LessLexerTAN                     = 84
	LessLexerATAN                    = 85
	LessLexerPI                      = 86
	LessLexerPOW                     = 87
	LessLexerMOD                     = 88
	LessLexerMIN                     = 89
	LessLexerMAX                     = 90
	LessLexerISNUMBER                = 91
	LessLexerISSTRING                = 92
	LessLexerISCOLOR                 = 93
	LessLexerISKEYWORD               = 94
	LessLexerISURL                   = 95
	LessLexerISPIXEL                 = 96
	LessLexerISEM                    = 97
	LessLexerISPERCENTAGE            = 98
	LessLexerISUNIT                  = 99
	LessLexerRGB                     = 100
	LessLexerRGBA                    = 101
	LessLexerARGB                    = 102
	LessLexerHSL                     = 103
	LessLexerHSLA                    = 104
	LessLexerHSV                     = 105
	LessLexerHSVA                    = 106
	LessLexerHUE                     = 107
	LessLexerSATURATION              = 108
	LessLexerLIGHTNESS               = 109
	LessLexerHSVHUE                  = 110
	LessLexerHSVSATURATION           = 111
	LessLexerHSVVALUE                = 112
	LessLexerRED                     = 113
	LessLexerGREEN                   = 114
	LessLexerBLUE                    = 115
	LessLexerALPHA                   = 116
	LessLexerLUMA                    = 117
	LessLexerLUMINANCE               = 118
	LessLexerSATURATE                = 119
	LessLexerDESATURATE              = 120
	LessLexerLIGHTEN                 = 121
	LessLexerDARKEN                  = 122
	LessLexerFADEIN                  = 123
	LessLexerFADEOUT                 = 124
	LessLexerFADE                    = 125
	LessLexerSPIN                    = 126
	LessLexerMIX                     = 127
	LessLexerGREYSCALE               = 128
	LessLexerCONTRAST                = 129
	LessLexerMULTIPLY                = 130
	LessLexerSCREEN                  = 131
	LessLexerOVERLAY                 = 132
	LessLexerSOFTLIGHT               = 133
	LessLexerHARDLIGHT               = 134
	LessLexerDIFFERENCE              = 135
	LessLexerEXCLUSION               = 136
	LessLexerAVERAGE                 = 137
	LessLexerNEGATION                = 138
	LessLexerUrlEnd                  = 139
	LessLexerUrl                     = 140
	LessLexerSPACE                   = 141
	LessLexerInterpolationStartAfter = 142
	LessLexerIdentifierAfter         = 143
)

LessLexer tokens.

View Source
const (
	LessLexerURL_STARTED = iota + 1
	LessLexerIDENTIFY
)

LessLexer modes.

View Source
const (
	LessParserEOF                     = antlr.TokenEOF
	LessParserNULL                    = 1
	LessParserIN                      = 2
	LessParserUnit                    = 3
	LessParserEllipsis                = 4
	LessParserInterpolationStart      = 5
	LessParserLPAREN                  = 6
	LessParserRPAREN                  = 7
	LessParserBlockStart              = 8
	LessParserBlockEnd                = 9
	LessParserLBRACK                  = 10
	LessParserRBRACK                  = 11
	LessParserGT                      = 12
	LessParserTIL                     = 13
	LessParserLT                      = 14
	LessParserCOLON                   = 15
	LessParserSEMI                    = 16
	LessParserCOMMA                   = 17
	LessParserDOT                     = 18
	LessParserDOLLAR                  = 19
	LessParserAT                      = 20
	LessParserPARENTREF               = 21
	LessParserHASH                    = 22
	LessParserCOLONCOLON              = 23
	LessParserPLUS                    = 24
	LessParserTIMES                   = 25
	LessParserDIV                     = 26
	LessParserMINUS                   = 27
	LessParserPERC                    = 28
	LessParserEQEQ                    = 29
	LessParserGTEQ                    = 30
	LessParserLTEQ                    = 31
	LessParserNOTEQ                   = 32
	LessParserEQ                      = 33
	LessParserPIPE_EQ                 = 34
	LessParserTILD_EQ                 = 35
	LessParserURL                     = 36
	LessParserUrlStart                = 37
	LessParserIMPORT                  = 38
	LessParserMEDIA                   = 39
	LessParserEXTEND                  = 40
	LessParserIMPORTANT               = 41
	LessParserARGUMENTS               = 42
	LessParserREST                    = 43
	LessParserREFERENCE               = 44
	LessParserINLINE                  = 45
	LessParserLESS                    = 46
	LessParserCSS                     = 47
	LessParserONCE                    = 48
	LessParserMULTIPLE                = 49
	LessParserWHEN                    = 50
	LessParserNOT                     = 51
	LessParserAND                     = 52
	LessParserIdentifier              = 53
	LessParserStringLiteral           = 54
	LessParserNumber                  = 55
	LessParserColor                   = 56
	LessParserWS                      = 57
	LessParserSL_COMMENT              = 58
	LessParserCOMMENT                 = 59
	LessParserFUNCTION_NAME           = 60
	LessParserCOLOR                   = 61
	LessParserCONVERT                 = 62
	LessParserDATA_URI                = 63
	LessParserDEFAULT                 = 64
	LessParserUNIT                    = 65
	LessParserGET_UNIT                = 66
	LessParserSVG_GRADIENT            = 67
	LessParserESCAPE                  = 68
	LessParserE                       = 69
	LessParserFORMAT                  = 70
	LessParserREPLACE                 = 71
	LessParserLENGTH                  = 72
	LessParserEXTRACT                 = 73
	LessParserCEIL                    = 74
	LessParserFLOOR                   = 75
	LessParserPERCENTAGE              = 76
	LessParserROUND                   = 77
	LessParserSQRT                    = 78
	LessParserABS                     = 79
	LessParserSIN                     = 80
	LessParserASIN                    = 81
	LessParserCOS                     = 82
	LessParserACOS                    = 83
	LessParserTAN                     = 84
	LessParserATAN                    = 85
	LessParserPI                      = 86
	LessParserPOW                     = 87
	LessParserMOD                     = 88
	LessParserMIN                     = 89
	LessParserMAX                     = 90
	LessParserISNUMBER                = 91
	LessParserISSTRING                = 92
	LessParserISCOLOR                 = 93
	LessParserISKEYWORD               = 94
	LessParserISURL                   = 95
	LessParserISPIXEL                 = 96
	LessParserISEM                    = 97
	LessParserISPERCENTAGE            = 98
	LessParserISUNIT                  = 99
	LessParserRGB                     = 100
	LessParserRGBA                    = 101
	LessParserARGB                    = 102
	LessParserHSL                     = 103
	LessParserHSLA                    = 104
	LessParserHSV                     = 105
	LessParserHSVA                    = 106
	LessParserHUE                     = 107
	LessParserSATURATION              = 108
	LessParserLIGHTNESS               = 109
	LessParserHSVHUE                  = 110
	LessParserHSVSATURATION           = 111
	LessParserHSVVALUE                = 112
	LessParserRED                     = 113
	LessParserGREEN                   = 114
	LessParserBLUE                    = 115
	LessParserALPHA                   = 116
	LessParserLUMA                    = 117
	LessParserLUMINANCE               = 118
	LessParserSATURATE                = 119
	LessParserDESATURATE              = 120
	LessParserLIGHTEN                 = 121
	LessParserDARKEN                  = 122
	LessParserFADEIN                  = 123
	LessParserFADEOUT                 = 124
	LessParserFADE                    = 125
	LessParserSPIN                    = 126
	LessParserMIX                     = 127
	LessParserGREYSCALE               = 128
	LessParserCONTRAST                = 129
	LessParserMULTIPLY                = 130
	LessParserSCREEN                  = 131
	LessParserOVERLAY                 = 132
	LessParserSOFTLIGHT               = 133
	LessParserHARDLIGHT               = 134
	LessParserDIFFERENCE              = 135
	LessParserEXCLUSION               = 136
	LessParserAVERAGE                 = 137
	LessParserNEGATION                = 138
	LessParserUrlEnd                  = 139
	LessParserUrl                     = 140
	LessParserSPACE                   = 141
	LessParserInterpolationStartAfter = 142
	LessParserIdentifierAfter         = 143
)

LessParser tokens.

View Source
const (
	LessParserRULE_stylesheet             = 0
	LessParserRULE_statement              = 1
	LessParserRULE_variableName           = 2
	LessParserRULE_commandStatement       = 3
	LessParserRULE_mathCharacter          = 4
	LessParserRULE_mathStatement          = 5
	LessParserRULE_expression             = 6
	LessParserRULE_function               = 7
	LessParserRULE_conditions             = 8
	LessParserRULE_condition              = 9
	LessParserRULE_conditionStatement     = 10
	LessParserRULE_variableDeclaration    = 11
	LessParserRULE_importDeclaration      = 12
	LessParserRULE_importOption           = 13
	LessParserRULE_referenceUrl           = 14
	LessParserRULE_mediaTypes             = 15
	LessParserRULE_ruleset                = 16
	LessParserRULE_block                  = 17
	LessParserRULE_mixinDefinition        = 18
	LessParserRULE_mixinGuard             = 19
	LessParserRULE_mixinDefinitionParam   = 20
	LessParserRULE_mixinReference         = 21
	LessParserRULE_selectors              = 22
	LessParserRULE_selector               = 23
	LessParserRULE_attrib                 = 24
	LessParserRULE_negation               = 25
	LessParserRULE_pseudo                 = 26
	LessParserRULE_element                = 27
	LessParserRULE_selectorPrefix         = 28
	LessParserRULE_attribRelate           = 29
	LessParserRULE_identifier             = 30
	LessParserRULE_identifierPart         = 31
	LessParserRULE_identifierVariableName = 32
	LessParserRULE_property               = 33
	LessParserRULE_values                 = 34
	LessParserRULE_url                    = 35
	LessParserRULE_measurement            = 36
)

LessParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttribContext

type AttribContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttribContext

func NewAttribContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttribContext

func NewEmptyAttribContext

func NewEmptyAttribContext() *AttribContext

func (*AttribContext) AllIdentifier

func (s *AttribContext) AllIdentifier() []antlr.TerminalNode

func (*AttribContext) AttribRelate

func (s *AttribContext) AttribRelate() IAttribRelateContext

func (*AttribContext) EnterRule

func (s *AttribContext) EnterRule(listener antlr.ParseTreeListener)

func (*AttribContext) ExitRule

func (s *AttribContext) ExitRule(listener antlr.ParseTreeListener)

func (*AttribContext) GetParser

func (s *AttribContext) GetParser() antlr.Parser

func (*AttribContext) GetRuleContext

func (s *AttribContext) GetRuleContext() antlr.RuleContext

func (*AttribContext) Identifier

func (s *AttribContext) Identifier(i int) antlr.TerminalNode

func (*AttribContext) IsAttribContext

func (*AttribContext) IsAttribContext()

func (*AttribContext) LBRACK

func (s *AttribContext) LBRACK() antlr.TerminalNode

func (*AttribContext) RBRACK

func (s *AttribContext) RBRACK() antlr.TerminalNode

func (*AttribContext) StringLiteral

func (s *AttribContext) StringLiteral() antlr.TerminalNode

func (*AttribContext) ToStringTree

func (s *AttribContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttribRelateContext

type AttribRelateContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttribRelateContext

func NewAttribRelateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttribRelateContext

func NewEmptyAttribRelateContext

func NewEmptyAttribRelateContext() *AttribRelateContext

func (*AttribRelateContext) EQ

func (*AttribRelateContext) EnterRule

func (s *AttribRelateContext) EnterRule(listener antlr.ParseTreeListener)

func (*AttribRelateContext) ExitRule

func (s *AttribRelateContext) ExitRule(listener antlr.ParseTreeListener)

func (*AttribRelateContext) GetParser

func (s *AttribRelateContext) GetParser() antlr.Parser

func (*AttribRelateContext) GetRuleContext

func (s *AttribRelateContext) GetRuleContext() antlr.RuleContext

func (*AttribRelateContext) IsAttribRelateContext

func (*AttribRelateContext) IsAttribRelateContext()

func (*AttribRelateContext) PIPE_EQ

func (s *AttribRelateContext) PIPE_EQ() antlr.TerminalNode

func (*AttribRelateContext) TILD_EQ

func (s *AttribRelateContext) TILD_EQ() antlr.TerminalNode

func (*AttribRelateContext) ToStringTree

func (s *AttribRelateContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BaseLessParserListener

type BaseLessParserListener struct{}

BaseLessParserListener is a complete listener for a parse tree produced by LessParser.

func (*BaseLessParserListener) EnterAttrib

func (s *BaseLessParserListener) EnterAttrib(ctx *AttribContext)

EnterAttrib is called when production attrib is entered.

func (*BaseLessParserListener) EnterAttribRelate

func (s *BaseLessParserListener) EnterAttribRelate(ctx *AttribRelateContext)

EnterAttribRelate is called when production attribRelate is entered.

func (*BaseLessParserListener) EnterBlock

func (s *BaseLessParserListener) EnterBlock(ctx *BlockContext)

EnterBlock is called when production block is entered.

func (*BaseLessParserListener) EnterCommandStatement

func (s *BaseLessParserListener) EnterCommandStatement(ctx *CommandStatementContext)

EnterCommandStatement is called when production commandStatement is entered.

func (*BaseLessParserListener) EnterCondition

func (s *BaseLessParserListener) EnterCondition(ctx *ConditionContext)

EnterCondition is called when production condition is entered.

func (*BaseLessParserListener) EnterConditionStatement

func (s *BaseLessParserListener) EnterConditionStatement(ctx *ConditionStatementContext)

EnterConditionStatement is called when production conditionStatement is entered.

func (*BaseLessParserListener) EnterConditions

func (s *BaseLessParserListener) EnterConditions(ctx *ConditionsContext)

EnterConditions is called when production conditions is entered.

func (*BaseLessParserListener) EnterElement

func (s *BaseLessParserListener) EnterElement(ctx *ElementContext)

EnterElement is called when production element is entered.

func (*BaseLessParserListener) EnterEveryRule

func (s *BaseLessParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseLessParserListener) EnterExpression

func (s *BaseLessParserListener) EnterExpression(ctx *ExpressionContext)

EnterExpression is called when production expression is entered.

func (*BaseLessParserListener) EnterFunction

func (s *BaseLessParserListener) EnterFunction(ctx *FunctionContext)

EnterFunction is called when production function is entered.

func (*BaseLessParserListener) EnterIdentifier

func (s *BaseLessParserListener) EnterIdentifier(ctx *IdentifierContext)

EnterIdentifier is called when production identifier is entered.

func (*BaseLessParserListener) EnterIdentifierPart

func (s *BaseLessParserListener) EnterIdentifierPart(ctx *IdentifierPartContext)

EnterIdentifierPart is called when production identifierPart is entered.

func (*BaseLessParserListener) EnterIdentifierVariableName

func (s *BaseLessParserListener) EnterIdentifierVariableName(ctx *IdentifierVariableNameContext)

EnterIdentifierVariableName is called when production identifierVariableName is entered.

func (*BaseLessParserListener) EnterImportDeclaration

func (s *BaseLessParserListener) EnterImportDeclaration(ctx *ImportDeclarationContext)

EnterImportDeclaration is called when production importDeclaration is entered.

func (*BaseLessParserListener) EnterImportOption

func (s *BaseLessParserListener) EnterImportOption(ctx *ImportOptionContext)

EnterImportOption is called when production importOption is entered.

func (*BaseLessParserListener) EnterMathCharacter

func (s *BaseLessParserListener) EnterMathCharacter(ctx *MathCharacterContext)

EnterMathCharacter is called when production mathCharacter is entered.

func (*BaseLessParserListener) EnterMathStatement

func (s *BaseLessParserListener) EnterMathStatement(ctx *MathStatementContext)

EnterMathStatement is called when production mathStatement is entered.

func (*BaseLessParserListener) EnterMeasurement

func (s *BaseLessParserListener) EnterMeasurement(ctx *MeasurementContext)

EnterMeasurement is called when production measurement is entered.

func (*BaseLessParserListener) EnterMediaTypes

func (s *BaseLessParserListener) EnterMediaTypes(ctx *MediaTypesContext)

EnterMediaTypes is called when production mediaTypes is entered.

func (*BaseLessParserListener) EnterMixinDefinition

func (s *BaseLessParserListener) EnterMixinDefinition(ctx *MixinDefinitionContext)

EnterMixinDefinition is called when production mixinDefinition is entered.

func (*BaseLessParserListener) EnterMixinDefinitionParam

func (s *BaseLessParserListener) EnterMixinDefinitionParam(ctx *MixinDefinitionParamContext)

EnterMixinDefinitionParam is called when production mixinDefinitionParam is entered.

func (*BaseLessParserListener) EnterMixinGuard

func (s *BaseLessParserListener) EnterMixinGuard(ctx *MixinGuardContext)

EnterMixinGuard is called when production mixinGuard is entered.

func (*BaseLessParserListener) EnterMixinReference

func (s *BaseLessParserListener) EnterMixinReference(ctx *MixinReferenceContext)

EnterMixinReference is called when production mixinReference is entered.

func (*BaseLessParserListener) EnterNegation

func (s *BaseLessParserListener) EnterNegation(ctx *NegationContext)

EnterNegation is called when production negation is entered.

func (*BaseLessParserListener) EnterProperty

func (s *BaseLessParserListener) EnterProperty(ctx *PropertyContext)

EnterProperty is called when production property is entered.

func (*BaseLessParserListener) EnterPseudo

func (s *BaseLessParserListener) EnterPseudo(ctx *PseudoContext)

EnterPseudo is called when production pseudo is entered.

func (*BaseLessParserListener) EnterReferenceUrl

func (s *BaseLessParserListener) EnterReferenceUrl(ctx *ReferenceUrlContext)

EnterReferenceUrl is called when production referenceUrl is entered.

func (*BaseLessParserListener) EnterRuleset

func (s *BaseLessParserListener) EnterRuleset(ctx *RulesetContext)

EnterRuleset is called when production ruleset is entered.

func (*BaseLessParserListener) EnterSelector

func (s *BaseLessParserListener) EnterSelector(ctx *SelectorContext)

EnterSelector is called when production selector is entered.

func (*BaseLessParserListener) EnterSelectorPrefix

func (s *BaseLessParserListener) EnterSelectorPrefix(ctx *SelectorPrefixContext)

EnterSelectorPrefix is called when production selectorPrefix is entered.

func (*BaseLessParserListener) EnterSelectors

func (s *BaseLessParserListener) EnterSelectors(ctx *SelectorsContext)

EnterSelectors is called when production selectors is entered.

func (*BaseLessParserListener) EnterStatement

func (s *BaseLessParserListener) EnterStatement(ctx *StatementContext)

EnterStatement is called when production statement is entered.

func (*BaseLessParserListener) EnterStylesheet

func (s *BaseLessParserListener) EnterStylesheet(ctx *StylesheetContext)

EnterStylesheet is called when production stylesheet is entered.

func (*BaseLessParserListener) EnterUrl

func (s *BaseLessParserListener) EnterUrl(ctx *UrlContext)

EnterUrl is called when production url is entered.

func (*BaseLessParserListener) EnterValues

func (s *BaseLessParserListener) EnterValues(ctx *ValuesContext)

EnterValues is called when production values is entered.

func (*BaseLessParserListener) EnterVariableDeclaration

func (s *BaseLessParserListener) EnterVariableDeclaration(ctx *VariableDeclarationContext)

EnterVariableDeclaration is called when production variableDeclaration is entered.

func (*BaseLessParserListener) EnterVariableName

func (s *BaseLessParserListener) EnterVariableName(ctx *VariableNameContext)

EnterVariableName is called when production variableName is entered.

func (*BaseLessParserListener) ExitAttrib

func (s *BaseLessParserListener) ExitAttrib(ctx *AttribContext)

ExitAttrib is called when production attrib is exited.

func (*BaseLessParserListener) ExitAttribRelate

func (s *BaseLessParserListener) ExitAttribRelate(ctx *AttribRelateContext)

ExitAttribRelate is called when production attribRelate is exited.

func (*BaseLessParserListener) ExitBlock

func (s *BaseLessParserListener) ExitBlock(ctx *BlockContext)

ExitBlock is called when production block is exited.

func (*BaseLessParserListener) ExitCommandStatement

func (s *BaseLessParserListener) ExitCommandStatement(ctx *CommandStatementContext)

ExitCommandStatement is called when production commandStatement is exited.

func (*BaseLessParserListener) ExitCondition

func (s *BaseLessParserListener) ExitCondition(ctx *ConditionContext)

ExitCondition is called when production condition is exited.

func (*BaseLessParserListener) ExitConditionStatement

func (s *BaseLessParserListener) ExitConditionStatement(ctx *ConditionStatementContext)

ExitConditionStatement is called when production conditionStatement is exited.

func (*BaseLessParserListener) ExitConditions

func (s *BaseLessParserListener) ExitConditions(ctx *ConditionsContext)

ExitConditions is called when production conditions is exited.

func (*BaseLessParserListener) ExitElement

func (s *BaseLessParserListener) ExitElement(ctx *ElementContext)

ExitElement is called when production element is exited.

func (*BaseLessParserListener) ExitEveryRule

func (s *BaseLessParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseLessParserListener) ExitExpression

func (s *BaseLessParserListener) ExitExpression(ctx *ExpressionContext)

ExitExpression is called when production expression is exited.

func (*BaseLessParserListener) ExitFunction

func (s *BaseLessParserListener) ExitFunction(ctx *FunctionContext)

ExitFunction is called when production function is exited.

func (*BaseLessParserListener) ExitIdentifier

func (s *BaseLessParserListener) ExitIdentifier(ctx *IdentifierContext)

ExitIdentifier is called when production identifier is exited.

func (*BaseLessParserListener) ExitIdentifierPart

func (s *BaseLessParserListener) ExitIdentifierPart(ctx *IdentifierPartContext)

ExitIdentifierPart is called when production identifierPart is exited.

func (*BaseLessParserListener) ExitIdentifierVariableName

func (s *BaseLessParserListener) ExitIdentifierVariableName(ctx *IdentifierVariableNameContext)

ExitIdentifierVariableName is called when production identifierVariableName is exited.

func (*BaseLessParserListener) ExitImportDeclaration

func (s *BaseLessParserListener) ExitImportDeclaration(ctx *ImportDeclarationContext)

ExitImportDeclaration is called when production importDeclaration is exited.

func (*BaseLessParserListener) ExitImportOption

func (s *BaseLessParserListener) ExitImportOption(ctx *ImportOptionContext)

ExitImportOption is called when production importOption is exited.

func (*BaseLessParserListener) ExitMathCharacter

func (s *BaseLessParserListener) ExitMathCharacter(ctx *MathCharacterContext)

ExitMathCharacter is called when production mathCharacter is exited.

func (*BaseLessParserListener) ExitMathStatement

func (s *BaseLessParserListener) ExitMathStatement(ctx *MathStatementContext)

ExitMathStatement is called when production mathStatement is exited.

func (*BaseLessParserListener) ExitMeasurement

func (s *BaseLessParserListener) ExitMeasurement(ctx *MeasurementContext)

ExitMeasurement is called when production measurement is exited.

func (*BaseLessParserListener) ExitMediaTypes

func (s *BaseLessParserListener) ExitMediaTypes(ctx *MediaTypesContext)

ExitMediaTypes is called when production mediaTypes is exited.

func (*BaseLessParserListener) ExitMixinDefinition

func (s *BaseLessParserListener) ExitMixinDefinition(ctx *MixinDefinitionContext)

ExitMixinDefinition is called when production mixinDefinition is exited.

func (*BaseLessParserListener) ExitMixinDefinitionParam

func (s *BaseLessParserListener) ExitMixinDefinitionParam(ctx *MixinDefinitionParamContext)

ExitMixinDefinitionParam is called when production mixinDefinitionParam is exited.

func (*BaseLessParserListener) ExitMixinGuard

func (s *BaseLessParserListener) ExitMixinGuard(ctx *MixinGuardContext)

ExitMixinGuard is called when production mixinGuard is exited.

func (*BaseLessParserListener) ExitMixinReference

func (s *BaseLessParserListener) ExitMixinReference(ctx *MixinReferenceContext)

ExitMixinReference is called when production mixinReference is exited.

func (*BaseLessParserListener) ExitNegation

func (s *BaseLessParserListener) ExitNegation(ctx *NegationContext)

ExitNegation is called when production negation is exited.

func (*BaseLessParserListener) ExitProperty

func (s *BaseLessParserListener) ExitProperty(ctx *PropertyContext)

ExitProperty is called when production property is exited.

func (*BaseLessParserListener) ExitPseudo

func (s *BaseLessParserListener) ExitPseudo(ctx *PseudoContext)

ExitPseudo is called when production pseudo is exited.

func (*BaseLessParserListener) ExitReferenceUrl

func (s *BaseLessParserListener) ExitReferenceUrl(ctx *ReferenceUrlContext)

ExitReferenceUrl is called when production referenceUrl is exited.

func (*BaseLessParserListener) ExitRuleset

func (s *BaseLessParserListener) ExitRuleset(ctx *RulesetContext)

ExitRuleset is called when production ruleset is exited.

func (*BaseLessParserListener) ExitSelector

func (s *BaseLessParserListener) ExitSelector(ctx *SelectorContext)

ExitSelector is called when production selector is exited.

func (*BaseLessParserListener) ExitSelectorPrefix

func (s *BaseLessParserListener) ExitSelectorPrefix(ctx *SelectorPrefixContext)

ExitSelectorPrefix is called when production selectorPrefix is exited.

func (*BaseLessParserListener) ExitSelectors

func (s *BaseLessParserListener) ExitSelectors(ctx *SelectorsContext)

ExitSelectors is called when production selectors is exited.

func (*BaseLessParserListener) ExitStatement

func (s *BaseLessParserListener) ExitStatement(ctx *StatementContext)

ExitStatement is called when production statement is exited.

func (*BaseLessParserListener) ExitStylesheet

func (s *BaseLessParserListener) ExitStylesheet(ctx *StylesheetContext)

ExitStylesheet is called when production stylesheet is exited.

func (*BaseLessParserListener) ExitUrl

func (s *BaseLessParserListener) ExitUrl(ctx *UrlContext)

ExitUrl is called when production url is exited.

func (*BaseLessParserListener) ExitValues

func (s *BaseLessParserListener) ExitValues(ctx *ValuesContext)

ExitValues is called when production values is exited.

func (*BaseLessParserListener) ExitVariableDeclaration

func (s *BaseLessParserListener) ExitVariableDeclaration(ctx *VariableDeclarationContext)

ExitVariableDeclaration is called when production variableDeclaration is exited.

func (*BaseLessParserListener) ExitVariableName

func (s *BaseLessParserListener) ExitVariableName(ctx *VariableNameContext)

ExitVariableName is called when production variableName is exited.

func (*BaseLessParserListener) VisitErrorNode

func (s *BaseLessParserListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseLessParserListener) VisitTerminal

func (s *BaseLessParserListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BlockContext

type BlockContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewBlockContext

func NewBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BlockContext

func NewEmptyBlockContext

func NewEmptyBlockContext() *BlockContext

func (*BlockContext) AllMixinReference

func (s *BlockContext) AllMixinReference() []IMixinReferenceContext

func (*BlockContext) AllProperty

func (s *BlockContext) AllProperty() []IPropertyContext

func (*BlockContext) AllSEMI

func (s *BlockContext) AllSEMI() []antlr.TerminalNode

func (*BlockContext) AllStatement

func (s *BlockContext) AllStatement() []IStatementContext

func (*BlockContext) BlockEnd

func (s *BlockContext) BlockEnd() antlr.TerminalNode

func (*BlockContext) BlockStart

func (s *BlockContext) BlockStart() antlr.TerminalNode

func (*BlockContext) EnterRule

func (s *BlockContext) EnterRule(listener antlr.ParseTreeListener)

func (*BlockContext) ExitRule

func (s *BlockContext) ExitRule(listener antlr.ParseTreeListener)

func (*BlockContext) GetParser

func (s *BlockContext) GetParser() antlr.Parser

func (*BlockContext) GetRuleContext

func (s *BlockContext) GetRuleContext() antlr.RuleContext

func (*BlockContext) IsBlockContext

func (*BlockContext) IsBlockContext()

func (*BlockContext) MixinReference

func (s *BlockContext) MixinReference(i int) IMixinReferenceContext

func (*BlockContext) Property

func (s *BlockContext) Property(i int) IPropertyContext

func (*BlockContext) SEMI

func (s *BlockContext) SEMI(i int) antlr.TerminalNode

func (*BlockContext) Statement

func (s *BlockContext) Statement(i int) IStatementContext

func (*BlockContext) ToStringTree

func (s *BlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CommandStatementContext

type CommandStatementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCommandStatementContext

func NewCommandStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandStatementContext

func NewEmptyCommandStatementContext

func NewEmptyCommandStatementContext() *CommandStatementContext

func (*CommandStatementContext) AllExpression

func (s *CommandStatementContext) AllExpression() []IExpressionContext

func (*CommandStatementContext) EnterRule

func (s *CommandStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*CommandStatementContext) ExitRule

func (s *CommandStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*CommandStatementContext) Expression

func (*CommandStatementContext) GetParser

func (s *CommandStatementContext) GetParser() antlr.Parser

func (*CommandStatementContext) GetRuleContext

func (s *CommandStatementContext) GetRuleContext() antlr.RuleContext

func (*CommandStatementContext) IsCommandStatementContext

func (*CommandStatementContext) IsCommandStatementContext()

func (*CommandStatementContext) MathStatement

func (*CommandStatementContext) ToStringTree

func (s *CommandStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ConditionContext

type ConditionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewConditionContext

func NewConditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionContext

func NewEmptyConditionContext

func NewEmptyConditionContext() *ConditionContext

func (*ConditionContext) ConditionStatement

func (s *ConditionContext) ConditionStatement() IConditionStatementContext

func (*ConditionContext) EnterRule

func (s *ConditionContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConditionContext) ExitRule

func (s *ConditionContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConditionContext) GetParser

func (s *ConditionContext) GetParser() antlr.Parser

func (*ConditionContext) GetRuleContext

func (s *ConditionContext) GetRuleContext() antlr.RuleContext

func (*ConditionContext) IsConditionContext

func (*ConditionContext) IsConditionContext()

func (*ConditionContext) LPAREN

func (s *ConditionContext) LPAREN() antlr.TerminalNode

func (*ConditionContext) NOT

func (*ConditionContext) RPAREN

func (s *ConditionContext) RPAREN() antlr.TerminalNode

func (*ConditionContext) ToStringTree

func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ConditionStatementContext

type ConditionStatementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewConditionStatementContext

func NewConditionStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionStatementContext

func NewEmptyConditionStatementContext

func NewEmptyConditionStatementContext() *ConditionStatementContext

func (*ConditionStatementContext) AllCommandStatement

func (s *ConditionStatementContext) AllCommandStatement() []ICommandStatementContext

func (*ConditionStatementContext) CommandStatement

func (*ConditionStatementContext) EQ

func (*ConditionStatementContext) EnterRule

func (s *ConditionStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConditionStatementContext) ExitRule

func (s *ConditionStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConditionStatementContext) GT

func (*ConditionStatementContext) GTEQ

func (*ConditionStatementContext) GetParser

func (s *ConditionStatementContext) GetParser() antlr.Parser

func (*ConditionStatementContext) GetRuleContext

func (s *ConditionStatementContext) GetRuleContext() antlr.RuleContext

func (*ConditionStatementContext) IsConditionStatementContext

func (*ConditionStatementContext) IsConditionStatementContext()

func (*ConditionStatementContext) LT

func (*ConditionStatementContext) LTEQ

func (*ConditionStatementContext) ToStringTree

func (s *ConditionStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ConditionsContext

type ConditionsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewConditionsContext

func NewConditionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionsContext

func NewEmptyConditionsContext

func NewEmptyConditionsContext() *ConditionsContext

func (*ConditionsContext) AND

func (*ConditionsContext) AllAND

func (s *ConditionsContext) AllAND() []antlr.TerminalNode

func (*ConditionsContext) AllCOMMA

func (s *ConditionsContext) AllCOMMA() []antlr.TerminalNode

func (*ConditionsContext) AllCondition

func (s *ConditionsContext) AllCondition() []IConditionContext

func (*ConditionsContext) COMMA

func (*ConditionsContext) Condition

func (s *ConditionsContext) Condition(i int) IConditionContext

func (*ConditionsContext) EnterRule

func (s *ConditionsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConditionsContext) ExitRule

func (s *ConditionsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConditionsContext) GetParser

func (s *ConditionsContext) GetParser() antlr.Parser

func (*ConditionsContext) GetRuleContext

func (s *ConditionsContext) GetRuleContext() antlr.RuleContext

func (*ConditionsContext) IsConditionsContext

func (*ConditionsContext) IsConditionsContext()

func (*ConditionsContext) ToStringTree

func (s *ConditionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ElementContext

type ElementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewElementContext

func NewElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementContext

func NewEmptyElementContext

func NewEmptyElementContext() *ElementContext

func (*ElementContext) EnterRule

func (s *ElementContext) EnterRule(listener antlr.ParseTreeListener)

func (*ElementContext) ExitRule

func (s *ElementContext) ExitRule(listener antlr.ParseTreeListener)

func (*ElementContext) GetParser

func (s *ElementContext) GetParser() antlr.Parser

func (*ElementContext) GetRuleContext

func (s *ElementContext) GetRuleContext() antlr.RuleContext

func (*ElementContext) HASH

func (s *ElementContext) HASH() antlr.TerminalNode

func (*ElementContext) Identifier

func (s *ElementContext) Identifier() IIdentifierContext

func (*ElementContext) IsElementContext

func (*ElementContext) IsElementContext()

func (*ElementContext) Negation

func (s *ElementContext) Negation() INegationContext

func (*ElementContext) PARENTREF

func (s *ElementContext) PARENTREF() antlr.TerminalNode

func (*ElementContext) Pseudo

func (s *ElementContext) Pseudo() IPseudoContext

func (*ElementContext) SelectorPrefix

func (s *ElementContext) SelectorPrefix() ISelectorPrefixContext

func (*ElementContext) TIMES

func (s *ElementContext) TIMES() antlr.TerminalNode

func (*ElementContext) ToStringTree

func (s *ElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExpressionContext

type ExpressionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) Color

func (*ExpressionContext) EnterRule

func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExpressionContext) ExitRule

func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExpressionContext) GetParser

func (s *ExpressionContext) GetParser() antlr.Parser

func (*ExpressionContext) GetRuleContext

func (s *ExpressionContext) GetRuleContext() antlr.RuleContext

func (*ExpressionContext) IMPORTANT

func (s *ExpressionContext) IMPORTANT() antlr.TerminalNode

func (*ExpressionContext) Identifier

func (s *ExpressionContext) Identifier() IIdentifierContext

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) LPAREN

func (s *ExpressionContext) LPAREN() antlr.TerminalNode

func (*ExpressionContext) Measurement

func (s *ExpressionContext) Measurement() IMeasurementContext

func (*ExpressionContext) RPAREN

func (s *ExpressionContext) RPAREN() antlr.TerminalNode

func (*ExpressionContext) StringLiteral

func (s *ExpressionContext) StringLiteral() antlr.TerminalNode

func (*ExpressionContext) ToStringTree

func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ExpressionContext) Url

func (s *ExpressionContext) Url() IUrlContext

func (*ExpressionContext) Values

func (s *ExpressionContext) Values() IValuesContext

func (*ExpressionContext) VariableName

func (s *ExpressionContext) VariableName() IVariableNameContext

type FunctionContext

type FunctionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFunctionContext

func NewEmptyFunctionContext() *FunctionContext

func NewFunctionContext

func NewFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionContext

func (*FunctionContext) EnterRule

func (s *FunctionContext) EnterRule(listener antlr.ParseTreeListener)

func (*FunctionContext) ExitRule

func (s *FunctionContext) ExitRule(listener antlr.ParseTreeListener)

func (*FunctionContext) FUNCTION_NAME

func (s *FunctionContext) FUNCTION_NAME() antlr.TerminalNode

func (*FunctionContext) GetParser

func (s *FunctionContext) GetParser() antlr.Parser

func (*FunctionContext) GetRuleContext

func (s *FunctionContext) GetRuleContext() antlr.RuleContext

func (*FunctionContext) IsFunctionContext

func (*FunctionContext) IsFunctionContext()

func (*FunctionContext) LPAREN

func (s *FunctionContext) LPAREN() antlr.TerminalNode

func (*FunctionContext) RPAREN

func (s *FunctionContext) RPAREN() antlr.TerminalNode

func (*FunctionContext) ToStringTree

func (s *FunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FunctionContext) Values

func (s *FunctionContext) Values() IValuesContext

type IAttribContext

type IAttribContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAttribContext differentiates from other interfaces.
	IsAttribContext()
}

IAttribContext is an interface to support dynamic dispatch.

type IAttribRelateContext

type IAttribRelateContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAttribRelateContext differentiates from other interfaces.
	IsAttribRelateContext()
}

IAttribRelateContext is an interface to support dynamic dispatch.

type IBlockContext

type IBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsBlockContext differentiates from other interfaces.
	IsBlockContext()
}

IBlockContext is an interface to support dynamic dispatch.

type ICommandStatementContext

type ICommandStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCommandStatementContext differentiates from other interfaces.
	IsCommandStatementContext()
}

ICommandStatementContext is an interface to support dynamic dispatch.

type IConditionContext

type IConditionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConditionContext differentiates from other interfaces.
	IsConditionContext()
}

IConditionContext is an interface to support dynamic dispatch.

type IConditionStatementContext

type IConditionStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConditionStatementContext differentiates from other interfaces.
	IsConditionStatementContext()
}

IConditionStatementContext is an interface to support dynamic dispatch.

type IConditionsContext

type IConditionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConditionsContext differentiates from other interfaces.
	IsConditionsContext()
}

IConditionsContext is an interface to support dynamic dispatch.

type IElementContext

type IElementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsElementContext differentiates from other interfaces.
	IsElementContext()
}

IElementContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExpressionContext differentiates from other interfaces.
	IsExpressionContext()
}

IExpressionContext is an interface to support dynamic dispatch.

type IFunctionContext

type IFunctionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFunctionContext differentiates from other interfaces.
	IsFunctionContext()
}

IFunctionContext is an interface to support dynamic dispatch.

type IIdentifierContext

type IIdentifierContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIdentifierContext differentiates from other interfaces.
	IsIdentifierContext()
}

IIdentifierContext is an interface to support dynamic dispatch.

type IIdentifierPartContext

type IIdentifierPartContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIdentifierPartContext differentiates from other interfaces.
	IsIdentifierPartContext()
}

IIdentifierPartContext is an interface to support dynamic dispatch.

type IIdentifierVariableNameContext

type IIdentifierVariableNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIdentifierVariableNameContext differentiates from other interfaces.
	IsIdentifierVariableNameContext()
}

IIdentifierVariableNameContext is an interface to support dynamic dispatch.

type IImportDeclarationContext

type IImportDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImportDeclarationContext differentiates from other interfaces.
	IsImportDeclarationContext()
}

IImportDeclarationContext is an interface to support dynamic dispatch.

type IImportOptionContext

type IImportOptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImportOptionContext differentiates from other interfaces.
	IsImportOptionContext()
}

IImportOptionContext is an interface to support dynamic dispatch.

type IMathCharacterContext

type IMathCharacterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMathCharacterContext differentiates from other interfaces.
	IsMathCharacterContext()
}

IMathCharacterContext is an interface to support dynamic dispatch.

type IMathStatementContext

type IMathStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMathStatementContext differentiates from other interfaces.
	IsMathStatementContext()
}

IMathStatementContext is an interface to support dynamic dispatch.

type IMeasurementContext

type IMeasurementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMeasurementContext differentiates from other interfaces.
	IsMeasurementContext()
}

IMeasurementContext is an interface to support dynamic dispatch.

type IMediaTypesContext

type IMediaTypesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMediaTypesContext differentiates from other interfaces.
	IsMediaTypesContext()
}

IMediaTypesContext is an interface to support dynamic dispatch.

type IMixinDefinitionContext

type IMixinDefinitionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMixinDefinitionContext differentiates from other interfaces.
	IsMixinDefinitionContext()
}

IMixinDefinitionContext is an interface to support dynamic dispatch.

type IMixinDefinitionParamContext

type IMixinDefinitionParamContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMixinDefinitionParamContext differentiates from other interfaces.
	IsMixinDefinitionParamContext()
}

IMixinDefinitionParamContext is an interface to support dynamic dispatch.

type IMixinGuardContext

type IMixinGuardContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMixinGuardContext differentiates from other interfaces.
	IsMixinGuardContext()
}

IMixinGuardContext is an interface to support dynamic dispatch.

type IMixinReferenceContext

type IMixinReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMixinReferenceContext differentiates from other interfaces.
	IsMixinReferenceContext()
}

IMixinReferenceContext is an interface to support dynamic dispatch.

type INegationContext

type INegationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNegationContext differentiates from other interfaces.
	IsNegationContext()
}

INegationContext is an interface to support dynamic dispatch.

type IPropertyContext

type IPropertyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPropertyContext differentiates from other interfaces.
	IsPropertyContext()
}

IPropertyContext is an interface to support dynamic dispatch.

type IPseudoContext

type IPseudoContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPseudoContext differentiates from other interfaces.
	IsPseudoContext()
}

IPseudoContext is an interface to support dynamic dispatch.

type IReferenceUrlContext

type IReferenceUrlContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsReferenceUrlContext differentiates from other interfaces.
	IsReferenceUrlContext()
}

IReferenceUrlContext is an interface to support dynamic dispatch.

type IRulesetContext

type IRulesetContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRulesetContext differentiates from other interfaces.
	IsRulesetContext()
}

IRulesetContext is an interface to support dynamic dispatch.

type ISelectorContext

type ISelectorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSelectorContext differentiates from other interfaces.
	IsSelectorContext()
}

ISelectorContext is an interface to support dynamic dispatch.

type ISelectorPrefixContext

type ISelectorPrefixContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSelectorPrefixContext differentiates from other interfaces.
	IsSelectorPrefixContext()
}

ISelectorPrefixContext is an interface to support dynamic dispatch.

type ISelectorsContext

type ISelectorsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSelectorsContext differentiates from other interfaces.
	IsSelectorsContext()
}

ISelectorsContext is an interface to support dynamic dispatch.

type IStatementContext

type IStatementContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStatementContext differentiates from other interfaces.
	IsStatementContext()
}

IStatementContext is an interface to support dynamic dispatch.

type IStylesheetContext

type IStylesheetContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsStylesheetContext differentiates from other interfaces.
	IsStylesheetContext()
}

IStylesheetContext is an interface to support dynamic dispatch.

type IUrlContext

type IUrlContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsUrlContext differentiates from other interfaces.
	IsUrlContext()
}

IUrlContext is an interface to support dynamic dispatch.

type IValuesContext

type IValuesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsValuesContext differentiates from other interfaces.
	IsValuesContext()
}

IValuesContext is an interface to support dynamic dispatch.

type IVariableDeclarationContext

type IVariableDeclarationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableDeclarationContext differentiates from other interfaces.
	IsVariableDeclarationContext()
}

IVariableDeclarationContext is an interface to support dynamic dispatch.

type IVariableNameContext

type IVariableNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsVariableNameContext differentiates from other interfaces.
	IsVariableNameContext()
}

IVariableNameContext is an interface to support dynamic dispatch.

type IdentifierContext

type IdentifierContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIdentifierContext

func NewEmptyIdentifierContext() *IdentifierContext

func NewIdentifierContext

func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext

func (*IdentifierContext) AllIdentifierPart

func (s *IdentifierContext) AllIdentifierPart() []IIdentifierPartContext

func (*IdentifierContext) BlockEnd

func (s *IdentifierContext) BlockEnd() antlr.TerminalNode

func (*IdentifierContext) EnterRule

func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)

func (*IdentifierContext) ExitRule

func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)

func (*IdentifierContext) GetParser

func (s *IdentifierContext) GetParser() antlr.Parser

func (*IdentifierContext) GetRuleContext

func (s *IdentifierContext) GetRuleContext() antlr.RuleContext

func (*IdentifierContext) Identifier

func (s *IdentifierContext) Identifier() antlr.TerminalNode

func (*IdentifierContext) IdentifierPart

func (s *IdentifierContext) IdentifierPart(i int) IIdentifierPartContext

func (*IdentifierContext) IdentifierVariableName

func (s *IdentifierContext) IdentifierVariableName() IIdentifierVariableNameContext

func (*IdentifierContext) InterpolationStart

func (s *IdentifierContext) InterpolationStart() antlr.TerminalNode

func (*IdentifierContext) IsIdentifierContext

func (*IdentifierContext) IsIdentifierContext()

func (*IdentifierContext) ToStringTree

func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IdentifierPartContext

type IdentifierPartContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIdentifierPartContext

func NewEmptyIdentifierPartContext() *IdentifierPartContext

func NewIdentifierPartContext

func NewIdentifierPartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierPartContext

func (*IdentifierPartContext) BlockEnd

func (*IdentifierPartContext) EnterRule

func (s *IdentifierPartContext) EnterRule(listener antlr.ParseTreeListener)

func (*IdentifierPartContext) ExitRule

func (s *IdentifierPartContext) ExitRule(listener antlr.ParseTreeListener)

func (*IdentifierPartContext) GetParser

func (s *IdentifierPartContext) GetParser() antlr.Parser

func (*IdentifierPartContext) GetRuleContext

func (s *IdentifierPartContext) GetRuleContext() antlr.RuleContext

func (*IdentifierPartContext) IdentifierAfter

func (s *IdentifierPartContext) IdentifierAfter() antlr.TerminalNode

func (*IdentifierPartContext) IdentifierVariableName

func (s *IdentifierPartContext) IdentifierVariableName() IIdentifierVariableNameContext

func (*IdentifierPartContext) InterpolationStartAfter

func (s *IdentifierPartContext) InterpolationStartAfter() antlr.TerminalNode

func (*IdentifierPartContext) IsIdentifierPartContext

func (*IdentifierPartContext) IsIdentifierPartContext()

func (*IdentifierPartContext) ToStringTree

func (s *IdentifierPartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IdentifierVariableNameContext

type IdentifierVariableNameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIdentifierVariableNameContext

func NewEmptyIdentifierVariableNameContext() *IdentifierVariableNameContext

func NewIdentifierVariableNameContext

func NewIdentifierVariableNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierVariableNameContext

func (*IdentifierVariableNameContext) EnterRule

func (s *IdentifierVariableNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*IdentifierVariableNameContext) ExitRule

func (*IdentifierVariableNameContext) GetParser

func (*IdentifierVariableNameContext) GetRuleContext

func (s *IdentifierVariableNameContext) GetRuleContext() antlr.RuleContext

func (*IdentifierVariableNameContext) Identifier

func (*IdentifierVariableNameContext) IdentifierAfter

func (s *IdentifierVariableNameContext) IdentifierAfter() antlr.TerminalNode

func (*IdentifierVariableNameContext) IsIdentifierVariableNameContext

func (*IdentifierVariableNameContext) IsIdentifierVariableNameContext()

func (*IdentifierVariableNameContext) ToStringTree

func (s *IdentifierVariableNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ImportDeclarationContext

type ImportDeclarationContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImportDeclarationContext

func NewEmptyImportDeclarationContext() *ImportDeclarationContext

func NewImportDeclarationContext

func NewImportDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportDeclarationContext

func (*ImportDeclarationContext) AllCOMMA

func (*ImportDeclarationContext) AllImportOption

func (s *ImportDeclarationContext) AllImportOption() []IImportOptionContext

func (*ImportDeclarationContext) COMMA

func (*ImportDeclarationContext) EnterRule

func (s *ImportDeclarationContext) EnterRule(listener antlr.ParseTreeListener)

func (*ImportDeclarationContext) ExitRule

func (s *ImportDeclarationContext) ExitRule(listener antlr.ParseTreeListener)

func (*ImportDeclarationContext) GetParser

func (s *ImportDeclarationContext) GetParser() antlr.Parser

func (*ImportDeclarationContext) GetRuleContext

func (s *ImportDeclarationContext) GetRuleContext() antlr.RuleContext

func (*ImportDeclarationContext) IMPORT

func (*ImportDeclarationContext) ImportOption

func (*ImportDeclarationContext) IsImportDeclarationContext

func (*ImportDeclarationContext) IsImportDeclarationContext()

func (*ImportDeclarationContext) LPAREN

func (*ImportDeclarationContext) MediaTypes

func (*ImportDeclarationContext) RPAREN

func (*ImportDeclarationContext) ReferenceUrl

func (*ImportDeclarationContext) SEMI

func (*ImportDeclarationContext) ToStringTree

func (s *ImportDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ImportOptionContext

type ImportOptionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImportOptionContext

func NewEmptyImportOptionContext() *ImportOptionContext

func NewImportOptionContext

func NewImportOptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportOptionContext

func (*ImportOptionContext) CSS

func (*ImportOptionContext) EnterRule

func (s *ImportOptionContext) EnterRule(listener antlr.ParseTreeListener)

func (*ImportOptionContext) ExitRule

func (s *ImportOptionContext) ExitRule(listener antlr.ParseTreeListener)

func (*ImportOptionContext) GetParser

func (s *ImportOptionContext) GetParser() antlr.Parser

func (*ImportOptionContext) GetRuleContext

func (s *ImportOptionContext) GetRuleContext() antlr.RuleContext

func (*ImportOptionContext) INLINE

func (*ImportOptionContext) IsImportOptionContext

func (*ImportOptionContext) IsImportOptionContext()

func (*ImportOptionContext) LESS

func (*ImportOptionContext) MULTIPLE

func (s *ImportOptionContext) MULTIPLE() antlr.TerminalNode

func (*ImportOptionContext) ONCE

func (*ImportOptionContext) REFERENCE

func (s *ImportOptionContext) REFERENCE() antlr.TerminalNode

func (*ImportOptionContext) ToStringTree

func (s *ImportOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LessLexer

type LessLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewLessLexer

func NewLessLexer(input antlr.CharStream) *LessLexer

type LessParser

type LessParser struct {
	*antlr.BaseParser
}

func NewLessParser

func NewLessParser(input antlr.TokenStream) *LessParser

func (*LessParser) Attrib

func (p *LessParser) Attrib() (localctx IAttribContext)

func (*LessParser) AttribRelate

func (p *LessParser) AttribRelate() (localctx IAttribRelateContext)

func (*LessParser) Block

func (p *LessParser) Block() (localctx IBlockContext)

func (*LessParser) CommandStatement

func (p *LessParser) CommandStatement() (localctx ICommandStatementContext)

func (*LessParser) Condition

func (p *LessParser) Condition() (localctx IConditionContext)

func (*LessParser) ConditionStatement

func (p *LessParser) ConditionStatement() (localctx IConditionStatementContext)

func (*LessParser) Conditions

func (p *LessParser) Conditions() (localctx IConditionsContext)

func (*LessParser) Element

func (p *LessParser) Element() (localctx IElementContext)

func (*LessParser) Expression

func (p *LessParser) Expression() (localctx IExpressionContext)

func (*LessParser) Function

func (p *LessParser) Function() (localctx IFunctionContext)

func (*LessParser) Identifier

func (p *LessParser) Identifier() (localctx IIdentifierContext)

func (*LessParser) IdentifierPart

func (p *LessParser) IdentifierPart() (localctx IIdentifierPartContext)

func (*LessParser) IdentifierVariableName

func (p *LessParser) IdentifierVariableName() (localctx IIdentifierVariableNameContext)

func (*LessParser) ImportDeclaration

func (p *LessParser) ImportDeclaration() (localctx IImportDeclarationContext)

func (*LessParser) ImportOption

func (p *LessParser) ImportOption() (localctx IImportOptionContext)

func (*LessParser) MathCharacter

func (p *LessParser) MathCharacter() (localctx IMathCharacterContext)

func (*LessParser) MathStatement

func (p *LessParser) MathStatement() (localctx IMathStatementContext)

func (*LessParser) Measurement

func (p *LessParser) Measurement() (localctx IMeasurementContext)

func (*LessParser) MediaTypes

func (p *LessParser) MediaTypes() (localctx IMediaTypesContext)

func (*LessParser) MixinDefinition

func (p *LessParser) MixinDefinition() (localctx IMixinDefinitionContext)

func (*LessParser) MixinDefinitionParam

func (p *LessParser) MixinDefinitionParam() (localctx IMixinDefinitionParamContext)

func (*LessParser) MixinGuard

func (p *LessParser) MixinGuard() (localctx IMixinGuardContext)

func (*LessParser) MixinReference

func (p *LessParser) MixinReference() (localctx IMixinReferenceContext)

func (*LessParser) Negation

func (p *LessParser) Negation() (localctx INegationContext)

func (*LessParser) Property

func (p *LessParser) Property() (localctx IPropertyContext)

func (*LessParser) Pseudo

func (p *LessParser) Pseudo() (localctx IPseudoContext)

func (*LessParser) ReferenceUrl

func (p *LessParser) ReferenceUrl() (localctx IReferenceUrlContext)

func (*LessParser) Ruleset

func (p *LessParser) Ruleset() (localctx IRulesetContext)

func (*LessParser) Selector

func (p *LessParser) Selector() (localctx ISelectorContext)

func (*LessParser) SelectorPrefix

func (p *LessParser) SelectorPrefix() (localctx ISelectorPrefixContext)

func (*LessParser) Selectors

func (p *LessParser) Selectors() (localctx ISelectorsContext)

func (*LessParser) Statement

func (p *LessParser) Statement() (localctx IStatementContext)

func (*LessParser) Stylesheet

func (p *LessParser) Stylesheet() (localctx IStylesheetContext)

func (*LessParser) Url

func (p *LessParser) Url() (localctx IUrlContext)

func (*LessParser) Values

func (p *LessParser) Values() (localctx IValuesContext)

func (*LessParser) VariableDeclaration

func (p *LessParser) VariableDeclaration() (localctx IVariableDeclarationContext)

func (*LessParser) VariableName

func (p *LessParser) VariableName() (localctx IVariableNameContext)

type LessParserListener

type LessParserListener interface {
	antlr.ParseTreeListener

	// EnterStylesheet is called when entering the stylesheet production.
	EnterStylesheet(c *StylesheetContext)

	// EnterStatement is called when entering the statement production.
	EnterStatement(c *StatementContext)

	// EnterVariableName is called when entering the variableName production.
	EnterVariableName(c *VariableNameContext)

	// EnterCommandStatement is called when entering the commandStatement production.
	EnterCommandStatement(c *CommandStatementContext)

	// EnterMathCharacter is called when entering the mathCharacter production.
	EnterMathCharacter(c *MathCharacterContext)

	// EnterMathStatement is called when entering the mathStatement production.
	EnterMathStatement(c *MathStatementContext)

	// EnterExpression is called when entering the expression production.
	EnterExpression(c *ExpressionContext)

	// EnterFunction is called when entering the function production.
	EnterFunction(c *FunctionContext)

	// EnterConditions is called when entering the conditions production.
	EnterConditions(c *ConditionsContext)

	// EnterCondition is called when entering the condition production.
	EnterCondition(c *ConditionContext)

	// EnterConditionStatement is called when entering the conditionStatement production.
	EnterConditionStatement(c *ConditionStatementContext)

	// EnterVariableDeclaration is called when entering the variableDeclaration production.
	EnterVariableDeclaration(c *VariableDeclarationContext)

	// EnterImportDeclaration is called when entering the importDeclaration production.
	EnterImportDeclaration(c *ImportDeclarationContext)

	// EnterImportOption is called when entering the importOption production.
	EnterImportOption(c *ImportOptionContext)

	// EnterReferenceUrl is called when entering the referenceUrl production.
	EnterReferenceUrl(c *ReferenceUrlContext)

	// EnterMediaTypes is called when entering the mediaTypes production.
	EnterMediaTypes(c *MediaTypesContext)

	// EnterRuleset is called when entering the ruleset production.
	EnterRuleset(c *RulesetContext)

	// EnterBlock is called when entering the block production.
	EnterBlock(c *BlockContext)

	// EnterMixinDefinition is called when entering the mixinDefinition production.
	EnterMixinDefinition(c *MixinDefinitionContext)

	// EnterMixinGuard is called when entering the mixinGuard production.
	EnterMixinGuard(c *MixinGuardContext)

	// EnterMixinDefinitionParam is called when entering the mixinDefinitionParam production.
	EnterMixinDefinitionParam(c *MixinDefinitionParamContext)

	// EnterMixinReference is called when entering the mixinReference production.
	EnterMixinReference(c *MixinReferenceContext)

	// EnterSelectors is called when entering the selectors production.
	EnterSelectors(c *SelectorsContext)

	// EnterSelector is called when entering the selector production.
	EnterSelector(c *SelectorContext)

	// EnterAttrib is called when entering the attrib production.
	EnterAttrib(c *AttribContext)

	// EnterNegation is called when entering the negation production.
	EnterNegation(c *NegationContext)

	// EnterPseudo is called when entering the pseudo production.
	EnterPseudo(c *PseudoContext)

	// EnterElement is called when entering the element production.
	EnterElement(c *ElementContext)

	// EnterSelectorPrefix is called when entering the selectorPrefix production.
	EnterSelectorPrefix(c *SelectorPrefixContext)

	// EnterAttribRelate is called when entering the attribRelate production.
	EnterAttribRelate(c *AttribRelateContext)

	// EnterIdentifier is called when entering the identifier production.
	EnterIdentifier(c *IdentifierContext)

	// EnterIdentifierPart is called when entering the identifierPart production.
	EnterIdentifierPart(c *IdentifierPartContext)

	// EnterIdentifierVariableName is called when entering the identifierVariableName production.
	EnterIdentifierVariableName(c *IdentifierVariableNameContext)

	// EnterProperty is called when entering the property production.
	EnterProperty(c *PropertyContext)

	// EnterValues is called when entering the values production.
	EnterValues(c *ValuesContext)

	// EnterUrl is called when entering the url production.
	EnterUrl(c *UrlContext)

	// EnterMeasurement is called when entering the measurement production.
	EnterMeasurement(c *MeasurementContext)

	// ExitStylesheet is called when exiting the stylesheet production.
	ExitStylesheet(c *StylesheetContext)

	// ExitStatement is called when exiting the statement production.
	ExitStatement(c *StatementContext)

	// ExitVariableName is called when exiting the variableName production.
	ExitVariableName(c *VariableNameContext)

	// ExitCommandStatement is called when exiting the commandStatement production.
	ExitCommandStatement(c *CommandStatementContext)

	// ExitMathCharacter is called when exiting the mathCharacter production.
	ExitMathCharacter(c *MathCharacterContext)

	// ExitMathStatement is called when exiting the mathStatement production.
	ExitMathStatement(c *MathStatementContext)

	// ExitExpression is called when exiting the expression production.
	ExitExpression(c *ExpressionContext)

	// ExitFunction is called when exiting the function production.
	ExitFunction(c *FunctionContext)

	// ExitConditions is called when exiting the conditions production.
	ExitConditions(c *ConditionsContext)

	// ExitCondition is called when exiting the condition production.
	ExitCondition(c *ConditionContext)

	// ExitConditionStatement is called when exiting the conditionStatement production.
	ExitConditionStatement(c *ConditionStatementContext)

	// ExitVariableDeclaration is called when exiting the variableDeclaration production.
	ExitVariableDeclaration(c *VariableDeclarationContext)

	// ExitImportDeclaration is called when exiting the importDeclaration production.
	ExitImportDeclaration(c *ImportDeclarationContext)

	// ExitImportOption is called when exiting the importOption production.
	ExitImportOption(c *ImportOptionContext)

	// ExitReferenceUrl is called when exiting the referenceUrl production.
	ExitReferenceUrl(c *ReferenceUrlContext)

	// ExitMediaTypes is called when exiting the mediaTypes production.
	ExitMediaTypes(c *MediaTypesContext)

	// ExitRuleset is called when exiting the ruleset production.
	ExitRuleset(c *RulesetContext)

	// ExitBlock is called when exiting the block production.
	ExitBlock(c *BlockContext)

	// ExitMixinDefinition is called when exiting the mixinDefinition production.
	ExitMixinDefinition(c *MixinDefinitionContext)

	// ExitMixinGuard is called when exiting the mixinGuard production.
	ExitMixinGuard(c *MixinGuardContext)

	// ExitMixinDefinitionParam is called when exiting the mixinDefinitionParam production.
	ExitMixinDefinitionParam(c *MixinDefinitionParamContext)

	// ExitMixinReference is called when exiting the mixinReference production.
	ExitMixinReference(c *MixinReferenceContext)

	// ExitSelectors is called when exiting the selectors production.
	ExitSelectors(c *SelectorsContext)

	// ExitSelector is called when exiting the selector production.
	ExitSelector(c *SelectorContext)

	// ExitAttrib is called when exiting the attrib production.
	ExitAttrib(c *AttribContext)

	// ExitNegation is called when exiting the negation production.
	ExitNegation(c *NegationContext)

	// ExitPseudo is called when exiting the pseudo production.
	ExitPseudo(c *PseudoContext)

	// ExitElement is called when exiting the element production.
	ExitElement(c *ElementContext)

	// ExitSelectorPrefix is called when exiting the selectorPrefix production.
	ExitSelectorPrefix(c *SelectorPrefixContext)

	// ExitAttribRelate is called when exiting the attribRelate production.
	ExitAttribRelate(c *AttribRelateContext)

	// ExitIdentifier is called when exiting the identifier production.
	ExitIdentifier(c *IdentifierContext)

	// ExitIdentifierPart is called when exiting the identifierPart production.
	ExitIdentifierPart(c *IdentifierPartContext)

	// ExitIdentifierVariableName is called when exiting the identifierVariableName production.
	ExitIdentifierVariableName(c *IdentifierVariableNameContext)

	// ExitProperty is called when exiting the property production.
	ExitProperty(c *PropertyContext)

	// ExitValues is called when exiting the values production.
	ExitValues(c *ValuesContext)

	// ExitUrl is called when exiting the url production.
	ExitUrl(c *UrlContext)

	// ExitMeasurement is called when exiting the measurement production.
	ExitMeasurement(c *MeasurementContext)
}

LessParserListener is a complete listener for a parse tree produced by LessParser.

type MathCharacterContext

type MathCharacterContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMathCharacterContext

func NewEmptyMathCharacterContext() *MathCharacterContext

func NewMathCharacterContext

func NewMathCharacterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MathCharacterContext

func (*MathCharacterContext) DIV

func (*MathCharacterContext) EnterRule

func (s *MathCharacterContext) EnterRule(listener antlr.ParseTreeListener)

func (*MathCharacterContext) ExitRule

func (s *MathCharacterContext) ExitRule(listener antlr.ParseTreeListener)

func (*MathCharacterContext) GetParser

func (s *MathCharacterContext) GetParser() antlr.Parser

func (*MathCharacterContext) GetRuleContext

func (s *MathCharacterContext) GetRuleContext() antlr.RuleContext

func (*MathCharacterContext) IsMathCharacterContext

func (*MathCharacterContext) IsMathCharacterContext()

func (*MathCharacterContext) MINUS

func (*MathCharacterContext) PERC

func (*MathCharacterContext) PLUS

func (*MathCharacterContext) TIMES

func (*MathCharacterContext) ToStringTree

func (s *MathCharacterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MathStatementContext

type MathStatementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMathStatementContext

func NewEmptyMathStatementContext() *MathStatementContext

func NewMathStatementContext

func NewMathStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MathStatementContext

func (*MathStatementContext) CommandStatement

func (s *MathStatementContext) CommandStatement() ICommandStatementContext

func (*MathStatementContext) EnterRule

func (s *MathStatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*MathStatementContext) ExitRule

func (s *MathStatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*MathStatementContext) GetParser

func (s *MathStatementContext) GetParser() antlr.Parser

func (*MathStatementContext) GetRuleContext

func (s *MathStatementContext) GetRuleContext() antlr.RuleContext

func (*MathStatementContext) IsMathStatementContext

func (*MathStatementContext) IsMathStatementContext()

func (*MathStatementContext) MathCharacter

func (s *MathStatementContext) MathCharacter() IMathCharacterContext

func (*MathStatementContext) ToStringTree

func (s *MathStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MeasurementContext

type MeasurementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMeasurementContext

func NewEmptyMeasurementContext() *MeasurementContext

func NewMeasurementContext

func NewMeasurementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MeasurementContext

func (*MeasurementContext) EnterRule

func (s *MeasurementContext) EnterRule(listener antlr.ParseTreeListener)

func (*MeasurementContext) ExitRule

func (s *MeasurementContext) ExitRule(listener antlr.ParseTreeListener)

func (*MeasurementContext) GetParser

func (s *MeasurementContext) GetParser() antlr.Parser

func (*MeasurementContext) GetRuleContext

func (s *MeasurementContext) GetRuleContext() antlr.RuleContext

func (*MeasurementContext) IsMeasurementContext

func (*MeasurementContext) IsMeasurementContext()

func (*MeasurementContext) Number

func (*MeasurementContext) ToStringTree

func (s *MeasurementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*MeasurementContext) Unit

type MediaTypesContext

type MediaTypesContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMediaTypesContext

func NewEmptyMediaTypesContext() *MediaTypesContext

func NewMediaTypesContext

func NewMediaTypesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MediaTypesContext

func (*MediaTypesContext) AllCOMMA

func (s *MediaTypesContext) AllCOMMA() []antlr.TerminalNode

func (*MediaTypesContext) AllIdentifier

func (s *MediaTypesContext) AllIdentifier() []antlr.TerminalNode

func (*MediaTypesContext) COMMA

func (*MediaTypesContext) EnterRule

func (s *MediaTypesContext) EnterRule(listener antlr.ParseTreeListener)

func (*MediaTypesContext) ExitRule

func (s *MediaTypesContext) ExitRule(listener antlr.ParseTreeListener)

func (*MediaTypesContext) GetParser

func (s *MediaTypesContext) GetParser() antlr.Parser

func (*MediaTypesContext) GetRuleContext

func (s *MediaTypesContext) GetRuleContext() antlr.RuleContext

func (*MediaTypesContext) Identifier

func (s *MediaTypesContext) Identifier(i int) antlr.TerminalNode

func (*MediaTypesContext) IsMediaTypesContext

func (*MediaTypesContext) IsMediaTypesContext()

func (*MediaTypesContext) ToStringTree

func (s *MediaTypesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MixinDefinitionContext

type MixinDefinitionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMixinDefinitionContext

func NewEmptyMixinDefinitionContext() *MixinDefinitionContext

func NewMixinDefinitionContext

func NewMixinDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MixinDefinitionContext

func (*MixinDefinitionContext) AllMixinDefinitionParam

func (s *MixinDefinitionContext) AllMixinDefinitionParam() []IMixinDefinitionParamContext

func (*MixinDefinitionContext) AllSEMI

func (s *MixinDefinitionContext) AllSEMI() []antlr.TerminalNode

func (*MixinDefinitionContext) Block

func (*MixinDefinitionContext) Ellipsis

func (*MixinDefinitionContext) EnterRule

func (s *MixinDefinitionContext) EnterRule(listener antlr.ParseTreeListener)

func (*MixinDefinitionContext) ExitRule

func (s *MixinDefinitionContext) ExitRule(listener antlr.ParseTreeListener)

func (*MixinDefinitionContext) GetParser

func (s *MixinDefinitionContext) GetParser() antlr.Parser

func (*MixinDefinitionContext) GetRuleContext

func (s *MixinDefinitionContext) GetRuleContext() antlr.RuleContext

func (*MixinDefinitionContext) IsMixinDefinitionContext

func (*MixinDefinitionContext) IsMixinDefinitionContext()

func (*MixinDefinitionContext) LPAREN

func (*MixinDefinitionContext) MixinDefinitionParam

func (s *MixinDefinitionContext) MixinDefinitionParam(i int) IMixinDefinitionParamContext

func (*MixinDefinitionContext) MixinGuard

func (*MixinDefinitionContext) RPAREN

func (*MixinDefinitionContext) SEMI

func (*MixinDefinitionContext) Selectors

func (*MixinDefinitionContext) ToStringTree

func (s *MixinDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MixinDefinitionParamContext

type MixinDefinitionParamContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMixinDefinitionParamContext

func NewEmptyMixinDefinitionParamContext() *MixinDefinitionParamContext

func NewMixinDefinitionParamContext

func NewMixinDefinitionParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MixinDefinitionParamContext

func (*MixinDefinitionParamContext) EnterRule

func (s *MixinDefinitionParamContext) EnterRule(listener antlr.ParseTreeListener)

func (*MixinDefinitionParamContext) ExitRule

func (s *MixinDefinitionParamContext) ExitRule(listener antlr.ParseTreeListener)

func (*MixinDefinitionParamContext) GetParser

func (s *MixinDefinitionParamContext) GetParser() antlr.Parser

func (*MixinDefinitionParamContext) GetRuleContext

func (s *MixinDefinitionParamContext) GetRuleContext() antlr.RuleContext

func (*MixinDefinitionParamContext) IsMixinDefinitionParamContext

func (*MixinDefinitionParamContext) IsMixinDefinitionParamContext()

func (*MixinDefinitionParamContext) ToStringTree

func (s *MixinDefinitionParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*MixinDefinitionParamContext) VariableDeclaration

func (*MixinDefinitionParamContext) VariableName

type MixinGuardContext

type MixinGuardContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMixinGuardContext

func NewEmptyMixinGuardContext() *MixinGuardContext

func NewMixinGuardContext

func NewMixinGuardContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MixinGuardContext

func (*MixinGuardContext) Conditions

func (s *MixinGuardContext) Conditions() IConditionsContext

func (*MixinGuardContext) EnterRule

func (s *MixinGuardContext) EnterRule(listener antlr.ParseTreeListener)

func (*MixinGuardContext) ExitRule

func (s *MixinGuardContext) ExitRule(listener antlr.ParseTreeListener)

func (*MixinGuardContext) GetParser

func (s *MixinGuardContext) GetParser() antlr.Parser

func (*MixinGuardContext) GetRuleContext

func (s *MixinGuardContext) GetRuleContext() antlr.RuleContext

func (*MixinGuardContext) IsMixinGuardContext

func (*MixinGuardContext) IsMixinGuardContext()

func (*MixinGuardContext) ToStringTree

func (s *MixinGuardContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*MixinGuardContext) WHEN

type MixinReferenceContext

type MixinReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMixinReferenceContext

func NewEmptyMixinReferenceContext() *MixinReferenceContext

func NewMixinReferenceContext

func NewMixinReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MixinReferenceContext

func (*MixinReferenceContext) EnterRule

func (s *MixinReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*MixinReferenceContext) ExitRule

func (s *MixinReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*MixinReferenceContext) GetParser

func (s *MixinReferenceContext) GetParser() antlr.Parser

func (*MixinReferenceContext) GetRuleContext

func (s *MixinReferenceContext) GetRuleContext() antlr.RuleContext

func (*MixinReferenceContext) IMPORTANT

func (s *MixinReferenceContext) IMPORTANT() antlr.TerminalNode

func (*MixinReferenceContext) IsMixinReferenceContext

func (*MixinReferenceContext) IsMixinReferenceContext()

func (*MixinReferenceContext) LPAREN

func (*MixinReferenceContext) RPAREN

func (*MixinReferenceContext) SEMI

func (*MixinReferenceContext) Selector

func (*MixinReferenceContext) ToStringTree

func (s *MixinReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*MixinReferenceContext) Values

type NegationContext

type NegationContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNegationContext

func NewEmptyNegationContext() *NegationContext

func NewNegationContext

func NewNegationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NegationContext

func (*NegationContext) COLON

func (s *NegationContext) COLON() antlr.TerminalNode

func (*NegationContext) EnterRule

func (s *NegationContext) EnterRule(listener antlr.ParseTreeListener)

func (*NegationContext) ExitRule

func (s *NegationContext) ExitRule(listener antlr.ParseTreeListener)

func (*NegationContext) GetParser

func (s *NegationContext) GetParser() antlr.Parser

func (*NegationContext) GetRuleContext

func (s *NegationContext) GetRuleContext() antlr.RuleContext

func (*NegationContext) IsNegationContext

func (*NegationContext) IsNegationContext()

func (*NegationContext) LBRACK

func (s *NegationContext) LBRACK() antlr.TerminalNode

func (*NegationContext) LPAREN

func (s *NegationContext) LPAREN() antlr.TerminalNode

func (*NegationContext) NOT

func (*NegationContext) RBRACK

func (s *NegationContext) RBRACK() antlr.TerminalNode

func (*NegationContext) RPAREN

func (s *NegationContext) RPAREN() antlr.TerminalNode

func (*NegationContext) Selectors

func (s *NegationContext) Selectors() ISelectorsContext

func (*NegationContext) ToStringTree

func (s *NegationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PropertyContext

type PropertyContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPropertyContext

func NewEmptyPropertyContext() *PropertyContext

func NewPropertyContext

func NewPropertyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyContext

func (*PropertyContext) COLON

func (s *PropertyContext) COLON() antlr.TerminalNode

func (*PropertyContext) EnterRule

func (s *PropertyContext) EnterRule(listener antlr.ParseTreeListener)

func (*PropertyContext) ExitRule

func (s *PropertyContext) ExitRule(listener antlr.ParseTreeListener)

func (*PropertyContext) GetParser

func (s *PropertyContext) GetParser() antlr.Parser

func (*PropertyContext) GetRuleContext

func (s *PropertyContext) GetRuleContext() antlr.RuleContext

func (*PropertyContext) Identifier

func (s *PropertyContext) Identifier() IIdentifierContext

func (*PropertyContext) IsPropertyContext

func (*PropertyContext) IsPropertyContext()

func (*PropertyContext) ToStringTree

func (s *PropertyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*PropertyContext) Values

func (s *PropertyContext) Values() IValuesContext

type PseudoContext

type PseudoContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPseudoContext

func NewEmptyPseudoContext() *PseudoContext

func NewPseudoContext

func NewPseudoContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PseudoContext

func (*PseudoContext) COLON

func (s *PseudoContext) COLON() antlr.TerminalNode

func (*PseudoContext) COLONCOLON

func (s *PseudoContext) COLONCOLON() antlr.TerminalNode

func (*PseudoContext) EnterRule

func (s *PseudoContext) EnterRule(listener antlr.ParseTreeListener)

func (*PseudoContext) ExitRule

func (s *PseudoContext) ExitRule(listener antlr.ParseTreeListener)

func (*PseudoContext) GetParser

func (s *PseudoContext) GetParser() antlr.Parser

func (*PseudoContext) GetRuleContext

func (s *PseudoContext) GetRuleContext() antlr.RuleContext

func (*PseudoContext) Identifier

func (s *PseudoContext) Identifier() antlr.TerminalNode

func (*PseudoContext) IsPseudoContext

func (*PseudoContext) IsPseudoContext()

func (*PseudoContext) ToStringTree

func (s *PseudoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ReferenceUrlContext

type ReferenceUrlContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyReferenceUrlContext

func NewEmptyReferenceUrlContext() *ReferenceUrlContext

func NewReferenceUrlContext

func NewReferenceUrlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReferenceUrlContext

func (*ReferenceUrlContext) EnterRule

func (s *ReferenceUrlContext) EnterRule(listener antlr.ParseTreeListener)

func (*ReferenceUrlContext) ExitRule

func (s *ReferenceUrlContext) ExitRule(listener antlr.ParseTreeListener)

func (*ReferenceUrlContext) GetParser

func (s *ReferenceUrlContext) GetParser() antlr.Parser

func (*ReferenceUrlContext) GetRuleContext

func (s *ReferenceUrlContext) GetRuleContext() antlr.RuleContext

func (*ReferenceUrlContext) IsReferenceUrlContext

func (*ReferenceUrlContext) IsReferenceUrlContext()

func (*ReferenceUrlContext) StringLiteral

func (s *ReferenceUrlContext) StringLiteral() antlr.TerminalNode

func (*ReferenceUrlContext) ToStringTree

func (s *ReferenceUrlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ReferenceUrlContext) Url

func (*ReferenceUrlContext) UrlEnd

func (*ReferenceUrlContext) UrlStart

func (s *ReferenceUrlContext) UrlStart() antlr.TerminalNode

type RulesetContext

type RulesetContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRulesetContext

func NewEmptyRulesetContext() *RulesetContext

func NewRulesetContext

func NewRulesetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RulesetContext

func (*RulesetContext) Block

func (s *RulesetContext) Block() IBlockContext

func (*RulesetContext) EnterRule

func (s *RulesetContext) EnterRule(listener antlr.ParseTreeListener)

func (*RulesetContext) ExitRule

func (s *RulesetContext) ExitRule(listener antlr.ParseTreeListener)

func (*RulesetContext) GetParser

func (s *RulesetContext) GetParser() antlr.Parser

func (*RulesetContext) GetRuleContext

func (s *RulesetContext) GetRuleContext() antlr.RuleContext

func (*RulesetContext) IsRulesetContext

func (*RulesetContext) IsRulesetContext()

func (*RulesetContext) Selectors

func (s *RulesetContext) Selectors() ISelectorsContext

func (*RulesetContext) ToStringTree

func (s *RulesetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SelectorContext

type SelectorContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySelectorContext

func NewEmptySelectorContext() *SelectorContext

func NewSelectorContext

func NewSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorContext

func (*SelectorContext) AllAttrib

func (s *SelectorContext) AllAttrib() []IAttribContext

func (*SelectorContext) AllElement

func (s *SelectorContext) AllElement() []IElementContext

func (*SelectorContext) Attrib

func (s *SelectorContext) Attrib(i int) IAttribContext

func (*SelectorContext) Element

func (s *SelectorContext) Element(i int) IElementContext

func (*SelectorContext) EnterRule

func (s *SelectorContext) EnterRule(listener antlr.ParseTreeListener)

func (*SelectorContext) ExitRule

func (s *SelectorContext) ExitRule(listener antlr.ParseTreeListener)

func (*SelectorContext) GetParser

func (s *SelectorContext) GetParser() antlr.Parser

func (*SelectorContext) GetRuleContext

func (s *SelectorContext) GetRuleContext() antlr.RuleContext

func (*SelectorContext) IsSelectorContext

func (*SelectorContext) IsSelectorContext()

func (*SelectorContext) Pseudo

func (s *SelectorContext) Pseudo() IPseudoContext

func (*SelectorContext) ToStringTree

func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SelectorPrefixContext

type SelectorPrefixContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySelectorPrefixContext

func NewEmptySelectorPrefixContext() *SelectorPrefixContext

func NewSelectorPrefixContext

func NewSelectorPrefixContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorPrefixContext

func (*SelectorPrefixContext) EnterRule

func (s *SelectorPrefixContext) EnterRule(listener antlr.ParseTreeListener)

func (*SelectorPrefixContext) ExitRule

func (s *SelectorPrefixContext) ExitRule(listener antlr.ParseTreeListener)

func (*SelectorPrefixContext) GT

func (*SelectorPrefixContext) GetParser

func (s *SelectorPrefixContext) GetParser() antlr.Parser

func (*SelectorPrefixContext) GetRuleContext

func (s *SelectorPrefixContext) GetRuleContext() antlr.RuleContext

func (*SelectorPrefixContext) IsSelectorPrefixContext

func (*SelectorPrefixContext) IsSelectorPrefixContext()

func (*SelectorPrefixContext) PLUS

func (*SelectorPrefixContext) TIL

func (*SelectorPrefixContext) ToStringTree

func (s *SelectorPrefixContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SelectorsContext

type SelectorsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySelectorsContext

func NewEmptySelectorsContext() *SelectorsContext

func NewSelectorsContext

func NewSelectorsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorsContext

func (*SelectorsContext) AllCOMMA

func (s *SelectorsContext) AllCOMMA() []antlr.TerminalNode

func (*SelectorsContext) AllSelector

func (s *SelectorsContext) AllSelector() []ISelectorContext

func (*SelectorsContext) COMMA

func (s *SelectorsContext) COMMA(i int) antlr.TerminalNode

func (*SelectorsContext) EnterRule

func (s *SelectorsContext) EnterRule(listener antlr.ParseTreeListener)

func (*SelectorsContext) ExitRule

func (s *SelectorsContext) ExitRule(listener antlr.ParseTreeListener)

func (*SelectorsContext) GetParser

func (s *SelectorsContext) GetParser() antlr.Parser

func (*SelectorsContext) GetRuleContext

func (s *SelectorsContext) GetRuleContext() antlr.RuleContext

func (*SelectorsContext) IsSelectorsContext

func (*SelectorsContext) IsSelectorsContext()

func (*SelectorsContext) Selector

func (s *SelectorsContext) Selector(i int) ISelectorContext

func (*SelectorsContext) ToStringTree

func (s *SelectorsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StatementContext

type StatementContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStatementContext

func NewEmptyStatementContext() *StatementContext

func NewStatementContext

func NewStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementContext

func (*StatementContext) EnterRule

func (s *StatementContext) EnterRule(listener antlr.ParseTreeListener)

func (*StatementContext) ExitRule

func (s *StatementContext) ExitRule(listener antlr.ParseTreeListener)

func (*StatementContext) GetParser

func (s *StatementContext) GetParser() antlr.Parser

func (*StatementContext) GetRuleContext

func (s *StatementContext) GetRuleContext() antlr.RuleContext

func (*StatementContext) ImportDeclaration

func (s *StatementContext) ImportDeclaration() IImportDeclarationContext

func (*StatementContext) IsStatementContext

func (*StatementContext) IsStatementContext()

func (*StatementContext) MixinDefinition

func (s *StatementContext) MixinDefinition() IMixinDefinitionContext

func (*StatementContext) Ruleset

func (s *StatementContext) Ruleset() IRulesetContext

func (*StatementContext) SEMI

func (*StatementContext) ToStringTree

func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*StatementContext) VariableDeclaration

func (s *StatementContext) VariableDeclaration() IVariableDeclarationContext

type StylesheetContext

type StylesheetContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStylesheetContext

func NewEmptyStylesheetContext() *StylesheetContext

func NewStylesheetContext

func NewStylesheetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StylesheetContext

func (*StylesheetContext) AllStatement

func (s *StylesheetContext) AllStatement() []IStatementContext

func (*StylesheetContext) EnterRule

func (s *StylesheetContext) EnterRule(listener antlr.ParseTreeListener)

func (*StylesheetContext) ExitRule

func (s *StylesheetContext) ExitRule(listener antlr.ParseTreeListener)

func (*StylesheetContext) GetParser

func (s *StylesheetContext) GetParser() antlr.Parser

func (*StylesheetContext) GetRuleContext

func (s *StylesheetContext) GetRuleContext() antlr.RuleContext

func (*StylesheetContext) IsStylesheetContext

func (*StylesheetContext) IsStylesheetContext()

func (*StylesheetContext) Statement

func (s *StylesheetContext) Statement(i int) IStatementContext

func (*StylesheetContext) ToStringTree

func (s *StylesheetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type UrlContext

type UrlContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyUrlContext

func NewEmptyUrlContext() *UrlContext

func NewUrlContext

func NewUrlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UrlContext

func (*UrlContext) EnterRule

func (s *UrlContext) EnterRule(listener antlr.ParseTreeListener)

func (*UrlContext) ExitRule

func (s *UrlContext) ExitRule(listener antlr.ParseTreeListener)

func (*UrlContext) GetParser

func (s *UrlContext) GetParser() antlr.Parser

func (*UrlContext) GetRuleContext

func (s *UrlContext) GetRuleContext() antlr.RuleContext

func (*UrlContext) IsUrlContext

func (*UrlContext) IsUrlContext()

func (*UrlContext) ToStringTree

func (s *UrlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*UrlContext) Url

func (s *UrlContext) Url() antlr.TerminalNode

func (*UrlContext) UrlEnd

func (s *UrlContext) UrlEnd() antlr.TerminalNode

func (*UrlContext) UrlStart

func (s *UrlContext) UrlStart() antlr.TerminalNode

type ValuesContext

type ValuesContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyValuesContext

func NewEmptyValuesContext() *ValuesContext

func NewValuesContext

func NewValuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValuesContext

func (*ValuesContext) AllCOMMA

func (s *ValuesContext) AllCOMMA() []antlr.TerminalNode

func (*ValuesContext) AllCommandStatement

func (s *ValuesContext) AllCommandStatement() []ICommandStatementContext

func (*ValuesContext) COMMA

func (s *ValuesContext) COMMA(i int) antlr.TerminalNode

func (*ValuesContext) CommandStatement

func (s *ValuesContext) CommandStatement(i int) ICommandStatementContext

func (*ValuesContext) EnterRule

func (s *ValuesContext) EnterRule(listener antlr.ParseTreeListener)

func (*ValuesContext) ExitRule

func (s *ValuesContext) ExitRule(listener antlr.ParseTreeListener)

func (*ValuesContext) GetParser

func (s *ValuesContext) GetParser() antlr.Parser

func (*ValuesContext) GetRuleContext

func (s *ValuesContext) GetRuleContext() antlr.RuleContext

func (*ValuesContext) IsValuesContext

func (*ValuesContext) IsValuesContext()

func (*ValuesContext) ToStringTree

func (s *ValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type VariableDeclarationContext

type VariableDeclarationContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVariableDeclarationContext

func NewEmptyVariableDeclarationContext() *VariableDeclarationContext

func NewVariableDeclarationContext

func NewVariableDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableDeclarationContext

func (*VariableDeclarationContext) COLON

func (*VariableDeclarationContext) EnterRule

func (s *VariableDeclarationContext) EnterRule(listener antlr.ParseTreeListener)

func (*VariableDeclarationContext) ExitRule

func (s *VariableDeclarationContext) ExitRule(listener antlr.ParseTreeListener)

func (*VariableDeclarationContext) GetParser

func (s *VariableDeclarationContext) GetParser() antlr.Parser

func (*VariableDeclarationContext) GetRuleContext

func (s *VariableDeclarationContext) GetRuleContext() antlr.RuleContext

func (*VariableDeclarationContext) IsVariableDeclarationContext

func (*VariableDeclarationContext) IsVariableDeclarationContext()

func (*VariableDeclarationContext) ToStringTree

func (s *VariableDeclarationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VariableDeclarationContext) Values

func (*VariableDeclarationContext) VariableName

type VariableNameContext

type VariableNameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyVariableNameContext

func NewEmptyVariableNameContext() *VariableNameContext

func NewVariableNameContext

func NewVariableNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableNameContext

func (*VariableNameContext) AT

func (*VariableNameContext) EnterRule

func (s *VariableNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*VariableNameContext) ExitRule

func (s *VariableNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*VariableNameContext) GetParser

func (s *VariableNameContext) GetParser() antlr.Parser

func (*VariableNameContext) GetRuleContext

func (s *VariableNameContext) GetRuleContext() antlr.RuleContext

func (*VariableNameContext) Identifier

func (s *VariableNameContext) Identifier() antlr.TerminalNode

func (*VariableNameContext) IsVariableNameContext

func (*VariableNameContext) IsVariableNameContext()

func (*VariableNameContext) ToStringTree

func (s *VariableNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VariableNameContext) VariableName

func (s *VariableNameContext) VariableName() IVariableNameContext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL