|
Akka/Scala example source code file (simple.py)
The simple.py Akka example source code
# -*- coding: utf-8 -*-
"""
pygments.styles.akka
~~~~~~~~~~~~~~~~~~~~~~~~
Simple style for Scala highlighting.
"""
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
Number, Operator, Generic, Whitespace
class SimpleStyle(Style):
"""
Simple style for Scala highlighting.
"""
background_color = "#f0f0f0"
default_style = ""
styles = {
Whitespace: "#f0f0f0",
Comment: "#777766",
Comment.Preproc: "",
Comment.Special: "",
Keyword: "#000080",
Keyword.Pseudo: "",
Keyword.Type: "",
Operator: "#000000",
Operator.Word: "",
Name.Builtin: "#000000",
Name.Function: "#000000",
Name.Class: "#000000",
Name.Namespace: "#000000",
Name.Exception: "#000000",
Name.Variable: "#000000",
Name.Constant: "bold #000000",
Name.Label: "#000000",
Name.Entity: "#000000",
Name.Attribute: "#000000",
Name.Tag: "#000000",
Name.Decorator: "#000000",
String: "#008000",
String.Doc: "",
String.Interpol: "",
String.Escape: "",
String.Regex: "",
String.Symbol: "",
String.Other: "",
Number: "#008000",
Error: "border:#FF0000"
}
Other Akka source code examplesHere is a short list of links related to this Akka simple.py source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.