| Index: lib/src/tree.dart
|
| diff --git a/lib/src/tree.dart b/lib/src/tree.dart
|
| index 75e962900085a6f953f4e4bbd8263d184d47391b..ba8370e96b1b1a65acb8fcca5de95fb3a2d047ac 100644
|
| --- a/lib/src/tree.dart
|
| +++ b/lib/src/tree.dart
|
| @@ -44,6 +44,21 @@ class Negation extends TreeNode {
|
| String get name => 'not';
|
| }
|
|
|
| +// calc(...)
|
| +// TODO(terry): Hack to handle calc however the expressions should be fully
|
| +// parsed and in the AST.
|
| +class CalcTerm extends LiteralTerm {
|
| + final LiteralTerm expr;
|
| +
|
| + CalcTerm(var value, String t, this.expr, SourceSpan span)
|
| + : super(value, t, span);
|
| +
|
| + CalcTerm clone() => new CalcTerm(value, text, expr.clone(), span);
|
| + visit(VisitorBase visitor) => visitor.visitCalcTerm(this);
|
| +
|
| + String toString() => "$text($expr)";
|
| +}
|
| +
|
| // /* .... */
|
| class CssComment extends TreeNode {
|
| final String comment;
|
|
|