AglStyleSyntaxAnalyser

class AglStyleSyntaxAnalyser : SyntaxAnalyserAbstract

Functions

clear
Link copied to clipboard
common
open override fun clear()
reset the sppt2ast, clearing any cached values
rule
Link copied to clipboard
common
fun rule(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): AglStyleRule
rules
Link copied to clipboard
common
fun rules(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): List<AglStyleRule>
selectorExpression
Link copied to clipboard
common
fun selectorExpression(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): String
selectorSingle
Link copied to clipboard
common
fun selectorSingle(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): String
style
Link copied to clipboard
common
fun style(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): AglStyle
styleList
Link copied to clipboard
common
fun styleList(target: SPPTBranch, children: List<SPPTBranch>, arg: Any?): List<AglStyle>
transform
Link copied to clipboard
common
open override fun <T> transform(sppt: SharedPackedParseTree): T
map the tree into an instance of the targetType
visit
Link copied to clipboard
common
open override fun visit(target: SPPTBranch, arg: Any?): Any
open override fun visit(target: SPPTLeaf, arg: Any?): Any
open override fun visit(target: SharedPackedParseTree, arg: Any?): Any
open fun visit(target: SPPTNode, arg: Any?): Any

Properties

locationMap
Link copied to clipboard
common
open override val locationMap: MutableMap<Any, InputLocation>