Exemplo n.º 1
0
 public static VariableSet GetVariableSet(this DfirElement dfirElement)
 {
     if (dfirElement is BorderNode)
     {
         throw new ArgumentException("Cannot get a VariableSet from a BorderNode; specify a Terminal instead.");
     }
     return(dfirElement.DfirRoot.GetVariableSet());
 }
Exemplo n.º 2
0
 public static TypeVariableSet GetTypeVariableSet(this DfirElement element)
 {
     return(element.DfirRoot.GetTypeVariableSet());
 }
Exemplo n.º 3
0
 public static VariableSet GetVariableSet(this DfirElement dfirElement)
 {
     return(dfirElement.DfirRoot.GetVariableSet());
 }