com.vaadin.sass.internal.tree
Class DefNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.DefNode
- All Implemented Interfaces:
- Definition, IVariableNode, Serializable
- Direct Known Subclasses:
- FunctionDefNode, MixinDefNode
public abstract class DefNode
- extends Node
- implements Definition, IVariableNode
DefNode defines the shared functionality of mixin and function definition
nodes. This includes the handling of parameter lists.
- Author:
- Vaadin
- See Also:
- Serialized Form
| Methods inherited from class com.vaadin.sass.internal.tree.Node |
appendChild, copy, copyChildren, getChildren, getNormalParentNode, getParentNode, printState, replaceNode, setChildren, traverse, traverseChildren, traverseChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefNode
public DefNode(String name,
Collection<Variable> args,
boolean hasVariableArgs)
DefNode
protected DefNode(DefNode nodeToCopy)
getName
public String getName()
- Specified by:
getName in interface Definition
getArglist
public FormalArgumentList getArglist()
hasVariableArguments
public boolean hasVariableArguments()
replaceVariables
public void replaceVariables(ScssContext context)
- Specified by:
replaceVariables in interface IVariableNode
replacePossibleArguments
public void replacePossibleArguments(ActualArgumentList actualArgumentList)
getDefinitionScope
public Scope getDefinitionScope()
setDefinitionScope
protected void setDefinitionScope(Scope scope)
Copyright © 2013–2014 Vaadin. All rights reserved.