Boo.Lang.Compiler.CompilerErrorFactory.InvalidNodeForAttribute C# (CSharp) Method

InvalidNodeForAttribute() public static method

public static InvalidNodeForAttribute ( Node node, string attributeName, string expectedNodeTypes ) : CompilerError
node Node
attributeName string
expectedNodeTypes string
return CompilerError
        public static CompilerError InvalidNodeForAttribute(Node node, string attributeName, string expectedNodeTypes)
        {
            return Instantiate("BCE0066", node, attributeName, expectedNodeTypes);
        }

Usage Example

Beispiel #1
0
 protected void InvalidNodeForAttribute(string expectedNodeTypes)
 {
     Errors.Add(CompilerErrorFactory.InvalidNodeForAttribute(LexicalInfo, GetType().FullName, expectedNodeTypes));
 }
CompilerErrorFactory