visitFtn method

  1. @override
Function visitFtn (Node node)
override

func visitor.visit distribuitor

Implementation

@override
Function visitFtn(Node node) {
  if (node is Anonymous) return visitAnonymous;
  if (node is Comment) return visitComment;
  if (node is Media) return visitMedia;
  if (node is AtRule) return visitAtRule;
  if (node is Extend) return visitExtend;
  if (node is Import) return visitImport;
  if (node is MixinDefinition) return visitMixinDefinition;
  if (node is Options) return visitOptions;
  if (node is Declaration) return visitDeclaration;
  if (node is Ruleset) return visitRuleset;
  return null;
}