Versions in this module Expand all Collapse all v0 v0.2.1 Sep 6, 2017 v0.2.0 Sep 6, 2017 v0.1.0 Aug 30, 2017 Changes in this version + const IncludeAll + const IncludeAnnotations + const IncludeChildren + const IncludeInternalType + const IncludeOriginalAST + const IncludePositions + const IncludeProperties + const IncludeTokens + const InternalRoleKey + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + var Role_name = map[int32]string + var Role_value = map[string]int32 + func CyclomaticComplexity(n *Node) int + func Pretty(n *Node, w io.Writer, includes IncludeFlag) error + func Tokens(n *Node) []string + type Hash uint32 + type IncludeFlag int64 + func (f IncludeFlag) Is(of IncludeFlag) bool + type Node struct + Children []*Node + EndPosition *Position + InternalType string + Properties map[string]string + Roles []Role + StartPosition *Position + Token string + func NewNode() *Node + func (*Node) Descriptor() ([]byte, []int) + func (*Node) ProtoMessage() + func (m *Node) Marshal() (dAtA []byte, err error) + func (m *Node) MarshalTo(dAtA []byte) (int, error) + func (m *Node) ProtoSize() (n int) + func (m *Node) Reset() + func (m *Node) Unmarshal(dAtA []byte) error + func (n *Node) Hash() Hash + func (n *Node) HashWith(includes IncludeFlag) Hash + func (n *Node) String() string + type Path []*Node + func NewPath(nodes ...*Node) Path + func (p Path) Child(n *Node) Path + func (p Path) IsEmpty() bool + func (p Path) Node() *Node + func (p Path) Parent() Path + type PathIter interface + Next func() Path + type PathStepIter interface + Step func() + func NewOrderPathIter(p Path) PathStepIter + type Position struct + Col uint32 + Line uint32 + Offset uint32 + func (*Position) Descriptor() ([]byte, []int) + func (*Position) ProtoMessage() + func (m *Position) Marshal() (dAtA []byte, err error) + func (m *Position) MarshalTo(dAtA []byte) (int, error) + func (m *Position) ProtoSize() (n int) + func (m *Position) Reset() + func (m *Position) String() string + func (m *Position) Unmarshal(dAtA []byte) error + type Role int16 + const Assert + const Assignment + const AssignmentValue + const AssignmentVariable + const AugmentedAssignment + const AugmentedAssignmentOperator + const AugmentedAssignmentValue + const AugmentedAssignmentVariable + const BinaryExpression + const BinaryExpressionLeft + const BinaryExpressionOp + const BinaryExpressionRight + const Block + const BlockScope + const BooleanLiteral + const Break + const ByteLiteral + const ByteStringLiteral + const Call + const CallCallee + const CallNamedArgument + const CallNamedArgumentName + const CallNamedArgumentValue + const CallPositionalArgument + const CallReceiver + const CharacterLiteral + const Comment + const Continue + const DoWhile + const DoWhileBody + const DoWhileCondition + const Documentation + const Expression + const File + const For + const ForBody + const ForEach + const ForExpression + const ForInit + const ForUpdate + const FunctionDeclaration + const FunctionDeclarationArgument + const FunctionDeclarationArgumentDefaultValue + const FunctionDeclarationArgumentName + const FunctionDeclarationBody + const FunctionDeclarationName + const FunctionDeclarationReceiver + const FunctionDeclarationVarArgsList + const Goto + const If + const IfBody + const IfCondition + const IfElse + const ImportAlias + const ImportDeclaration + const ImportPath + const Incomplete + const Infix + const Invalid + const ListLiteral + const MapEntry + const MapKey + const MapLiteral + const MapValue + const Noop + const NullLiteral + const NumberLiteral + const OpAdd + const OpBitwiseAnd + const OpBitwiseComplement + const OpBitwiseLeftShift + const OpBitwiseOr + const OpBitwiseRightShift + const OpBitwiseUnsignedRightShift + const OpBitwiseXor + const OpBooleanAnd + const OpBooleanNot + const OpBooleanOr + const OpBooleanXor + const OpContains + const OpDereference + const OpDivide + const OpEqual + const OpGreaterThan + const OpGreaterThanEqual + const OpLessThan + const OpLessThanEqual + const OpMod + const OpMultiply + const OpNegative + const OpNotContains + const OpNotEqual + const OpNotSame + const OpPositive + const OpPostDecrement + const OpPostIncrement + const OpPreDecrement + const OpPreIncrement + const OpSame + const OpSubstract + const OpTakeAddress + const OtherLiteral + const PackageDeclaration + const Postfix + const PrimitiveType + const QualifiedIdentifier + const RegexpLiteral + const Return + const SetLiteral + const SimpleIdentifier + const Statement + const StringLiteral + const Switch + const SwitchCase + const SwitchCaseBody + const SwitchCaseCondition + const SwitchDefault + const This + const Throw + const Try + const TryBody + const TryCatch + const TryFinally + const TupleLiteral + const Type + const TypeDeclaration + const TypeDeclarationBases + const TypeDeclarationBody + const TypeDeclarationImplements + const TypeLiteral + const Unannotated + const VisibleFromFriend + const VisibleFromInstance + const VisibleFromModule + const VisibleFromPackage + const VisibleFromSubpackage + const VisibleFromSubtype + const VisibleFromType + const VisibleFromWorld + const While + const WhileBody + const WhileCondition + const Whitespace + func (Role) EnumDescriptor() ([]byte, []int) + func (i Role) String() string Other modules containing this package gopkg.in/bblfsh/sdk.v1 gopkg.in/bblfsh/sdk.v2