public override LessNode VisitLineStatement(LessParser.LineStatementContext context) { ExtendStatement GetExtendStatement() { var extend = context.extend(); if (extend == null) { return(null); } return(new ExtendStatement(GetExtend(extend))); } return(context.importDeclaration()?.Accept(this) ?? context.variableDeclaration()?.Accept(this) ?? context.mixinCall()?.Accept(this) ?? context.property()?.Accept(this) ?? GetExtendStatement() ?? throw new ParserException($"Unexpected statement type: [{context.GetText()}]")); }
public virtual LessNode VisitLineStatement(LessParser.LineStatementContext context) { throw new System.NotImplementedException(); }