mirror of
https://github.com/golang/go
synced 2024-11-15 11:50:31 -07:00
640a57c881
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13587043
44 lines
1.1 KiB
XML
44 lines
1.1 KiB
XML
<!-- <NotepadPlus> -->
|
|
<!-- <functionList> -->
|
|
<!-- <associationMap> -->
|
|
<association ext=".go" id="go"/>
|
|
|
|
<!-- </associationMap> -->
|
|
<!-- <parsers> -->
|
|
<parser id="go" displayName="Go" commentExpr="((/\*.*?\*)/|(//.*?$))">
|
|
<classRange
|
|
mainExpr="^type\s+\w+\s+interface\s*\{"
|
|
openSymbole = "\{"
|
|
closeSymbole = "\}"
|
|
displayMode="node">
|
|
<className>
|
|
<nameExpr expr="type\s+\w+"/>
|
|
<nameExpr expr="\s+\w+"/>
|
|
<nameExpr expr="\w+"/>
|
|
</className>
|
|
<function
|
|
mainExpr="^\s+\w+\s*\(">
|
|
<functionName>
|
|
<funcNameExpr expr="\w+"/>
|
|
</functionName>
|
|
</function>
|
|
</classRange>
|
|
<function
|
|
mainExpr="(^func\s+\w+)|(^func\s*\(\s*\w*\s*\*?\s*\w+\s*\)\s*\w+)"
|
|
displayMode="$className->$functionName">
|
|
<functionName>
|
|
<nameExpr expr="((func\s+\w+)|(\)\s*\w+))"/>
|
|
<nameExpr expr="((\s+\w+)|(\)\s*\w+))"/>
|
|
<nameExpr expr="\w+"/>
|
|
</functionName>
|
|
<className>
|
|
<nameExpr expr="\w+\s*\)"/>
|
|
<nameExpr expr="\w+"/>
|
|
</className>
|
|
</function>
|
|
</parser>
|
|
|
|
<!-- </parsers> -->
|
|
<!-- </functionList> -->
|
|
<!-- </NotepadPlus> -->
|