Beispiel #1
0
    [AgRule("GLookup", "Form", Context = "Body")] static Ast FormGLookup(Ast n, string name)
    {
        var ret = findL(name, n.Parent(), n.ChildIndex() - 1);

        return((ret != null) ? ret : n.ErrorQuestion());
    }
Beispiel #2
0
 static bool ElementIsErrorQuestion(Racr.AstNode n)
 {
     return(n == n.ErrorQuestion());
 }
Beispiel #3
0
 [AgRule("IsErrorQuestion", "Element")] static bool ElementIsErrorQuestion(Ast n)
 {
     return(n == n.ErrorQuestion());
 }
Beispiel #4
0
    static Racr.AstNode FromGLookup(Racr.AstNode n, string name)
    {
        var ret = findL(name, n.Parent(), n.ChildIndex() - 1);

        return((ret != null) ? ret : n.ErrorQuestion());
    }