Commit d7246a58 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent 18392b6a
...@@ -914,11 +914,10 @@ class CBaseTypeNode(Node): ...@@ -914,11 +914,10 @@ class CBaseTypeNode(Node):
# analyse # analyse
# Returns the type. # Returns the type.
pass
def analyse_as_type(self, env): def analyse_as_type(self, env):
return self.analyse(env) return self.analyse(env)
class CAnalysedBaseTypeNode(Node): class CAnalysedBaseTypeNode(Node):
# type type # type type
...@@ -927,6 +926,7 @@ class CAnalysedBaseTypeNode(Node): ...@@ -927,6 +926,7 @@ class CAnalysedBaseTypeNode(Node):
def analyse(self, env, could_be_name = False): def analyse(self, env, could_be_name = False):
return self.type return self.type
class CSimpleBaseTypeNode(CBaseTypeNode): class CSimpleBaseTypeNode(CBaseTypeNode):
# name string # name string
# module_path [string] Qualifying name components # module_path [string] Qualifying name components
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment