|
The Psyche Project
|
The SemanticModel class. More...
#include <SemanticModel.h>
Classes | |
| struct | SemanticModelImpl |
Public Member Functions | |
| const SyntaxTree * | syntaxTree () const |
| const Compilation * | compilation () const |
| const TranslationUnit * | translationUnit () const |
| const Function * | declaredFunction (const FunctionDefinitionSyntax *node) const |
| const Parameter * | declaredParameter (const ParameterDeclarationSyntax *node) const |
| const Struct * | declaredStruct (const StructOrUnionDeclarationSyntax *node) const |
| const Union * | declaredUnion (const StructOrUnionDeclarationSyntax *node) const |
| const Enum * | declaredEnum (const EnumDeclarationSyntax *node) const |
| const TypeDeclaration * | declaredTypeDeclaration (const TypeDeclarationSyntax *node) const |
| const Enumerator * | declaredEnumerator (const EnumeratorDeclarationSyntax *node) const |
| std::vector< const Field * > | declaredFields (const FieldDeclarationSyntax *node) const |
| std::vector< const Declaration * > | declaredDeclarations (const VariableAndOrFunctionDeclarationSyntax *node) const |
| const Declaration * | declaredDeclaration (const DeclaratorSyntax *node) const |
The SemanticModel class.
Microsoft.CodeAnalysis.SemanticModel from Roslyn, the .NET Compiler Platform. | const Compilation * SemanticModel::compilation | ( | ) | const |
The Compilation from which this SemanticModel was computed.
| const Declaration * SemanticModel::declaredDeclaration | ( | const DeclaratorSyntax * | node | ) | const |
The Declaration declared by the given DeclaratorSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | std::vector< const Declaration * > SemanticModel::declaredDeclarations | ( | const VariableAndOrFunctionDeclarationSyntax * | node | ) | const |
The Declaration(s) declared by the given VariableAndOrFunctionDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Enum * SemanticModel::declaredEnum | ( | const EnumDeclarationSyntax * | node | ) | const |
The Enum declared by the given EnumDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Enumerator * SemanticModel::declaredEnumerator | ( | const EnumeratorDeclarationSyntax * | node | ) | const |
The Enumerator declared by the given EnumeratorDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | std::vector< const Field * > SemanticModel::declaredFields | ( | const FieldDeclarationSyntax * | node | ) | const |
The Field(s) declared by the given FieldDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Function * SemanticModel::declaredFunction | ( | const FunctionDefinitionSyntax * | node | ) | const |
The Function declared by the given FunctionDefinitionSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Parameter * SemanticModel::declaredParameter | ( | const ParameterDeclarationSyntax * | node | ) | const |
The Parameter declared by the given ParameterDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Struct * SemanticModel::declaredStruct | ( | const StructOrUnionDeclarationSyntax * | node | ) | const |
The Struct declared by the given StructOrUnionDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const TypeDeclaration * SemanticModel::declaredTypeDeclaration | ( | const TypeDeclarationSyntax * | node | ) | const |
The TypeDeclaration declared by the given TypeDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const Union * SemanticModel::declaredUnion | ( | const StructOrUnionDeclarationSyntax * | node | ) | const |
The Union declared by the given StructOrUnionDeclarationSyntax node.
Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol of Roslyn. | const SyntaxTree * SemanticModel::syntaxTree | ( | ) | const |
The SyntaxTree from which this SemanticModel was computed.
| const TranslationUnit * SemanticModel::translationUnit | ( | ) | const |
The TranslationUnit of this SemanticModel.
1.8.18