visitFtn method

  1. @override
Function visitFtn (Node node)
override

func visitor.visit distribuitor

Implementation

@override
Function visitFtn(Node node) {
  //before AtRule
  if (node is Media) return visitMedia;
  if (node is AtRule) return visitAtRule;
  if (node is MixinDefinition) return visitMixinDefinition;
  if (node is Declaration) return visitDeclaration;
  if (node is Ruleset) return visitRuleset;

  return null;
}