本文整理汇总了C#中Walker.Walk方法的典型用法代码示例。如果您正苦于以下问题:C# Walker.Walk方法的具体用法?C# Walker.Walk怎么用?C# Walker.Walk使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Walker
的用法示例。
在下文中一共展示了Walker.Walk方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ReadGlow
public void ReadGlow(GlowContainer glow, Client client)
{
var rootItem = new Item(null, _rootKey.Name, false, _rootKey);
var walker = new Walker(this, client, rootItem);
walker.Walk(glow);
}
示例2: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
}
walker.PostWalk(this);
}
示例3: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
_function.Walk(walker);
}
walker.PostWalk(this);
}
示例4: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
foreach (var v in _vars)
v.Walk(walker);
}
walker.PostWalk(this);
}
示例5: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_expression != null)
_expression.Walk(walker);
}
walker.PostWalk(this);
}
示例6: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
_left.Walk(walker);
_right.Walk(walker);
}
walker.PostWalk(this);
}
示例7: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
foreach (var expr in _values)
expr.Walk(walker);
}
walker.PostWalk(this);
}
示例8: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_defaultValue != null)
{
_defaultValue.Walk(walker);
}
}
walker.PostWalk(this);
}
示例9: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
foreach (var val in _values)
{
val.Walk(walker);
}
}
walker.PostWalk(this);
}
示例10: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_target != null)
{
_target.Walk(walker);
}
}
walker.PostWalk(this);
}
示例11: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_expr != null)
{
_expr.Walk(walker);
}
}
walker.PostWalk(this);
}
示例12: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
_name.Walk(walker);
if (_initializationValue != null)
{
_initializationValue.Walk(walker);
}
}
walker.PostWalk(this);
}
示例13: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_statements != null)
{
foreach (Statement s in _statements)
{
s.Walk(walker);
}
}
}
walker.PostWalk(this);
}
示例14: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
foreach (var tp in _testPairs)
{
tp.Item1.Walk(walker);
tp.Item2.Walk(walker);
}
if (_ifFalse != null)
_ifFalse.Walk(walker);
}
walker.PostWalk(this);
}
示例15: Walk
public override void Walk(Walker.TotemWalker walker)
{
if (walker.Walk(this))
{
if (_target != null)
{
_target.Walk(walker);
}
if (_indexes != null)
{
foreach (var index in _indexes)
index.Walk(walker);
}
}
walker.PostWalk(this);
}