导图社区 Go Garmmar
Go Garmmar:packageclause、importdecl、topleveledcl.
社区模板帮助中心,点此进入>>
论语孔子简单思维导图
《傅雷家书》思维导图
《童年》读书笔记
《茶馆》思维导图
《朝花夕拾》篇目思维导图
《昆虫记》思维导图
《安徒生童话》思维导图
《鲁滨逊漂流记》读书笔记
《这样读书就够了》读书笔记
妈妈必读:一张0-1岁孩子认知发展的精确时间表
Go Grammar
SourceFile
PackageClause
ImportDecl
TopLevelDecl
Declaration
ConstDecl
ExpressionList
Expression
UnaryExpr
unary_op
"+" | "-" | "!" | "^" | "*" | "&" | "<-"
PrimaryExpr
Operand
Literal
BasicLit
int_lit
float_lit
imaginary_lit
rune_lit
string_lit
CompositeLit
ArrayType
SliceType
StructType
MapType
FunctionLit
Signature
FunctionBody
Conversion
MethodExpr
Selector
Index
Slice
TypeAssertion
BinaryExpr
binary_op
"||" | "&&" | "==" | "!=" | "<" | "<=" | ">" | ">="| "+" | "-" | "|" | "^"| "*" | "/" | "%" | "<<" | ">>" | "&" | "&^"
TypeDecl
AliasDecl
TypeDef
identifier
Type
TypeName
int,uint, ...
QualifiedIdent
TypeLit
PointerType
FunctionType
InterfaceType
ChannelType
VarDecl
FunctionDecl
FunctionName
Parameters
Result
MethodDecl
Receiver
MethodName
ParameterList
ParameterDecl
IdentifierList
Block
StatementList
Statement
SimpleStmt
EmptyStmt
ExpressionStmt
SendStmt
IncDecStmt
Assignment
ShortVarDecl
Control Flow
LabeledStmt
GotoStmt
IfStmt
SwitchStmt
ForStmt
BreakStmt
ContinueStmt
ReturnStmt
FallthroughStmt
Go itserlf
SelectStmt
GoStmt
DeferStmt