2 // System.CodeDom.ICodeDomVisitor.cs
5 // Juraj Skripsky (js@hotfeet.ch)
7 // Copyright (C) 2008 HotFeet GmbH (http://www.hotfeet.ch)
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 namespace System.CodeDom {
30 internal interface ICodeDomVisitor {
32 void Visit (CodeArgumentReferenceExpression o);
33 void Visit (CodeArrayCreateExpression o);
34 void Visit (CodeArrayIndexerExpression o);
35 void Visit (CodeBaseReferenceExpression o);
36 void Visit (CodeBinaryOperatorExpression o);
37 void Visit (CodeCastExpression o);
38 void Visit (CodeDefaultValueExpression o);
39 void Visit (CodeDelegateCreateExpression o);
40 void Visit (CodeDelegateInvokeExpression o);
41 void Visit (CodeDirectionExpression o);
42 void Visit (CodeEventReferenceExpression o);
43 void Visit (CodeFieldReferenceExpression o);
44 void Visit (CodeIndexerExpression o);
45 void Visit (CodeMethodInvokeExpression o);
46 void Visit (CodeMethodReferenceExpression o);
47 void Visit (CodeObjectCreateExpression o);
48 void Visit (CodeParameterDeclarationExpression o);
49 void Visit (CodePrimitiveExpression o);
50 void Visit (CodePropertyReferenceExpression o);
51 void Visit (CodePropertySetValueReferenceExpression o);
52 void Visit (CodeSnippetExpression o);
53 void Visit (CodeThisReferenceExpression o);
54 void Visit (CodeTypeOfExpression o);
55 void Visit (CodeTypeReferenceExpression o);
56 void Visit (CodeVariableReferenceExpression o);
59 void Visit (CodeAssignStatement o);
60 void Visit (CodeAttachEventStatement o);
61 void Visit (CodeCommentStatement o);
62 void Visit (CodeConditionStatement o);
63 void Visit (CodeExpressionStatement o);
64 void Visit (CodeGotoStatement o);
65 void Visit (CodeIterationStatement o);
66 void Visit (CodeLabeledStatement o);
67 void Visit (CodeMethodReturnStatement o);
68 void Visit (CodeRemoveEventStatement o);
69 void Visit (CodeThrowExceptionStatement o);
70 void Visit (CodeTryCatchFinallyStatement o);
71 void Visit (CodeVariableDeclarationStatement o);
74 void Visit (CodeConstructor o);
75 void Visit (CodeEntryPointMethod o);
76 void Visit (CodeMemberEvent o);
77 void Visit (CodeMemberField o);
78 void Visit (CodeMemberMethod o);
79 void Visit (CodeMemberProperty o);
80 void Visit (CodeSnippetTypeMember o);
81 void Visit (CodeTypeConstructor o);